this.model = model; model.addChangeListener(listener); setEditor(createEditor(model)); updateUI();
this(new SpinnerNumberModel());
  public JSpinner(SpinnerModel model)  {    this.model = model;    model.addChangeListener(listener);    setEditor(createEditor(model));    updateUI();  }