if (maximum != newMaximum)
if (maximum != null ? !maximum.equals(newMaximum) : newMaximum != null)
  public void setMaximum(Comparable newMaximum)  {    if (maximum != newMaximum)      {	maximum = newMaximum;	fireStateChanged();      }  }