public synchronized void removeActionListener(ActionListener listener){
  actionListeners.removeElement(listener);
}

public synchronized void removeActionListener ( ActionListener listener ) { actionListeners . removeElement ( listener ) ; }
remove an object that was being alerted when an item on this menu bar was selected .
