Example #1
0
 /**
  * Return the wizardController
  *
  * @return JButton
  */
 private WizardController getWizardController() {
   if (wizardController == null) {
     wizardController = getTabbedPane().getWizardController();
     wizardController.setFinishButtonTextAndMnemonic("Start Battle", 'S', 0);
     wizardController.setFocusOnEnabled(true);
   }
   return wizardController;
 }
 public void fireStateChanged() {
   if (wizardController != null) {
     wizardController.stateChanged(new ChangeEvent(this));
   }
 }
 public WC getContext() {
   return mController.getContext();
 }
 public Object showWizard() {
   setVisible(true);
   return mController.getResult();
 }