}
}
protected void processWindowEvent(WindowEvent e) {
for (Iterator<?> i = windowListeners.getUserIterator(); i.hasNext();) {
WindowListener listener = (WindowListener) i.next();
switch (e.getID()) {
case WindowEvent.WINDOW_ACTIVATED:
listener.windowActivated(e);
break;
case WindowEvent.WINDOW_CLOSED:
listener.windowClosed(e);
break;
case WindowEvent.WINDOW_CLOSING:
listener.windowClosing(e);
break;
case WindowEvent.WINDOW_DEACTIVATED:
listener.windowDeactivated(e);
break;
case WindowEvent.WINDOW_DEICONIFIED:
listener.windowDeiconified(e);
break;
case WindowEvent.WINDOW_ICONIFIED:
listener.windowIconified(e);
break;
case WindowEvent.WINDOW_OPENED:
listener.windowOpened(e);
break;
}
}
}