示例#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);
   }
 }