By Rakesh Menon on Mar 23, 2010
<script src="http://dl.javafx.com/1.2/dtfx.js"></script> <script src="http://javafxdemos.googlecode.com/hg/resource/JavaFXWizard/JavaFXWizard.js"></script>Wizard. This has the navigation buttons and a sequence of Containers - WizardPanel, which contains the user interface for each panel. A variable selectedIndex in Wizard keeps track of currently shown panel. Variable selectedPanel holds the instance of selected panel. A new panel instance is set to this variable when index is updated. The node is bound to content so as to update UI when a new panel is set. Disabled state of "Back" and "Next" button is set dynamically using bind with selectedIndex.
Please try it out and let me know feedback..