// back protected boolean goBack() { if (wizardComponents.getCurrentIndex() - 1 >= 0) { wizardComponents.setCurrentIndex(wizardComponents.getCurrentIndex() - 1); wizardComponents.updateComponents(); return true; } else { return false; } }
// next protected boolean goNext() { if (wizardComponents.getWizardPanelList().size() > wizardComponents.getCurrentIndex() + 1) { wizardComponents.setCurrentIndex(wizardComponents.getCurrentIndex() + 1); wizardComponents.updateComponents(); return true; } else { return false; } }