EventListener[] ll = listenerList.getListeners(ChangeListener.class); for (int i = 0; i < ll.length; i++) ((ChangeListener)ll[i]).stateChanged(changeEvent);
ChangeListener[] listeners = getChangeListeners();  for (int i = 0; i < listeners.length; i++) listeners[i].stateChanged(changeEvent);
  public void fireStateChanged(ChangeEvent e)  {    EventListener[] ll = listenerList.getListeners(ChangeListener.class);    for (int i = 0; i < ll.length; i++)      ((ChangeListener)ll[i]).stateChanged(changeEvent);  }