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