if (event instanceof FocusEvent) { if (focusListener != null) { switch (event.id) { case FocusEvent.FOCUS_GAINED: focusListener.focusGained((FocusEvent) event); break; case FocusEvent.FOCUS_LOST: focusListener.focusLost((FocusEvent) event); break; } } }
processEvent(AWTEvent event){}