oldModel.removeChangeListener(changeListener); model.addChangeListener(changeListener); firePropertyChange(MODEL_CHANGED_PROPERTY, oldModel, model);
firePropertyChange("model", oldModel, model);
  public void setModel(BoundedRangeModel newModel)  {    if (model != newModel)      {	BoundedRangeModel oldModel = model;	model = newModel;	oldModel.removeChangeListener(changeListener);	model.addChangeListener(changeListener);	firePropertyChange(MODEL_CHANGED_PROPERTY, oldModel, model);      }  }