@Override public void windowGainedFocus(WindowEvent e) { super.windowGainedFocus(e); focusFirstInputComponent(); }