public void eventDispatched(AWTEvent e) {
if (e instanceof WindowEvent) {
WindowEvent w = (WindowEvent) e;
String param = w.paramString();
if (w.getID() == WindowEvent.WINDOW_OPENED) {
Window window = w.getWindow();
// Is it a code completion window?
boolean isCodeCompletion = isCodeCompletionWindow(window, true, !CodeCompletionListener.isCodeCompletionOpen());