private void moveForward() { if (currentWizardPane.validateValues()) { this.currentPage++; moveToPage(this.currentPage); } else { showErrorMessage(); } }
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(); } }