public void addActionListener(ActionListener l){
  listeners.addElement(l);
}

public void addActionListener ( ActionListener l ) { listeners . addElement ( l ) ; }
add an actionlistener . an action event is generated when the edited item changes
