ChangeListener listener; ChangeListener[] listeners; int index;
ChangeListener[] listeners = getChangeListeners();
  protected void fireStateChanged ()  {    // Variables    ChangeListener listener;    ChangeListener[] listeners;    int index;    // Get Listeners    listeners = getChangeListeners ();    // Process Listeners    for (index = 0; index < listeners.length; index++)      {        listener = listeners [index];        listener.stateChanged (changeEvent);      }  }