@Override public void actionPerformed(ActionEvent e) { if (e.getSource() == okButton) { if (hoster != null && hoster.getSelectedPlugin() != null && accountBuilderUI.validateInputs()) { super.actionPerformed(e); } } else { super.actionPerformed(e); } }
@Override public void windowGainedFocus(WindowEvent e) { super.windowGainedFocus(e); focusFirstInputComponent(); }
@Override protected void packed() { super.packed(); }