/** Removes action listener */ public synchronized void removeActionListener(ActionListener l) { if (l != null) { actionListener = AWTEventMulticaster.remove(actionListener, l); } }
/** Adds an action listener. */ public synchronized void addActionListener(ActionListener l) { if (l != null) { actionListener = AWTEventMulticaster.add(actionListener, l); } }