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