if (editor == null)
  public void setModel(SpinnerModel newModel)  {    if (newModel == null)      throw new IllegalArgumentException();        if (model == newModel)      return;    SpinnerModel oldModel = model;    model = newModel;    firePropertyChange("model", oldModel, newModel);    if (editor == null)      setEditor(createEditor(model));  }