private void hideFinishingPage() { finishingPage.setVisible(false); getChildren().remove(finishingPage); getChildren().add(0, finishingPage); final WizardPage currentPage = getCurrentPage(); if (currentPage != null) currentPage.setVisible(true); }
private void showFinishingPage() { getChildren().remove(finishingPage); for (Node child : getChildren()) child.setVisible(false); finishingPage.setVisible(true); getChildren().add(finishingPage); finishingPage.requestFocus(); }