synchronized void removeWindowListener(WindowListener l) {
   windowListener = AWTEventMulticaster.remove(windowListener, l);
 }
 synchronized void addWindowListener(WindowListener l) {
   windowListener = AWTEventMulticaster.add(windowListener, l);
 }