boolean oldEnabled = isEnabled();
if (enable == isEnabled()) return;
  public void setEnabled(boolean enable)  {    boolean oldEnabled = isEnabled();    super.setEnabled(enable);    firePropertyChange("enabled", oldEnabled, enable);  }