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