Example #1
0
 @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);
   }
 }
Example #2
0
 @Override
 public void windowGainedFocus(WindowEvent e) {
   super.windowGainedFocus(e);
   focusFirstInputComponent();
 }
Example #3
0
 @Override
 protected void packed() {
   super.packed();
 }