this.model.removeChangeListener(changeListener); this.model = model; this.model.addChangeListener(changeListener);
if (oldModel != null && changeListener != null) oldModel.removeChangeListener(changeListener);  model = m;  if (model != null) { if (changeListener != null) changeListener = createChangeListener(); model.addChangeListener(changeListener); }
  public void setModel(SingleSelectionModel model)  {    if (model != this.model)      {	SingleSelectionModel oldModel = this.model;	this.model.removeChangeListener(changeListener);	this.model = model;	this.model.addChangeListener(changeListener);	firePropertyChange("model", oldModel, this.model);      }  }