EventListener[] ll = listenerList.getListeners(ItemListener.class); for (int i = 0; i < ll.length; i++) ((ItemListener)ll[i]).itemStateChanged(e);
ItemListener[] listeners = getItemListeners();  for (int i = 0; i < listeners.length; i++) listeners[i].itemStateChanged(e);
  public void fireItemStateChanged(ItemEvent e)  {    e.setSource(this);    EventListener[] ll = listenerList.getListeners(ItemListener.class);    for (int i = 0; i < ll.length; i++)      ((ItemListener)ll[i]).itemStateChanged(e);  }