## Wizard Wizard: Wizard Type

See Also

The New Wizard wizard creates a new Wizard. You open the New Wizard wizard by right-clicking a module project, choosing New > File/Folder and selecting Wizard from the NetBeans Plug-in Module category.

In the Wizard Type page, you have to set the following:

- Registration Type. Specifies where the user will be able to find the wizard in the IDE. See About Wizards for details.
- Wizard Step Sequence. Specifies whether the Wizard wizard will create an implementation of this NetBeans API class:

  If you choose Static, an implementation of this NetBeans API class will not be created. The default progression from panel to panel will then be supported by your wizard, sequential progression without divergences or reversals.

  If you choose Dynamic, the Wizard wizard will create an implementation of the WizardDescriptor.Iterator class. This class guides progress from one panel to the next. The developer has a lot more freedom in coding the wizard, but has a more complex task since there are many more possibilities to consider. When you choose "Static", you can also extend the wizard to provide support for panel skipping and reversals, but the "Dynamic" type was made for this purpose. For example, the Add Server Instance wizard offers different panels depending on the type of server that the user wants to register.

- Number of Wizard Panels. For each panel, the IDE creates two files—a visual panel (called `xxxVisualPanel.java`) and a wizard panel (called `xxxWizardPanel`) for retrieving the current values from the visual panel. Only if you enter an integer greater than 0, will you be able to progress to the next panel in the Wizard wizard.

See Also
  About NetBeans Platform and Module Development
  About the NetBeans Platform

Legal Notices