boolean olddeter = indeterminate; indeterminate = newValue; firePropertyChange("indeterminate", olddeter, indeterminate);
indeterminate = flag; firePropertyChange("indeterminate", !flag, indeterminate);
  public void setIndeterminate(boolean newValue)  {    if (indeterminate != newValue)      {	boolean olddeter = indeterminate;	indeterminate = newValue;	firePropertyChange("indeterminate", olddeter,	                   indeterminate);      }  }