public JSpinner (SpinnerModel model)

Constructs a spinner for the given model. The spinner has a set of previous/next buttons, and an editor appropriate for the model.

Exceptions:
NullPointerException    if the model is null