for (int i=0;i<actions.size();i++)
ActionListener[] listeners = getActionListeners();  for (int i = 0; i < listeners.length; i++)
  void fireActionPerformed()  {    for (int i=0;i<actions.size();i++)      {	ActionListener a = (ActionListener) actions.elementAt(i);	a.actionPerformed(new ActionEvent(this, ticks, "Timer"));      }  }