Ejemplo n.º 1
0
 private void moveForward() {
   if (currentWizardPane.validateValues()) {
     this.currentPage++;
     moveToPage(this.currentPage);
   } else {
     showErrorMessage();
   }
 }
Ejemplo n.º 2
0
 private void processFinish() {
   if (currentWizardPane.validateValues()) {
     try {
       new Controller().process(wizardBean);
       showSuccessMessage(" jar file creation successful! ");
     } catch (ProcessException e) {
       showErrorMessage(e.getMessage());
     } catch (Exception e) {
       showErrorMessage("Unknown Error! " + e.getMessage());
     }
   } else {
     showErrorMessage();
   }
 }