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