The Wizard wizard helps you by creating several of a wizard's basic Java source files, containing sample code, for you. When you want to create a wizard, you do not always need to use the Wizard wizard. The table below helps you to chose.
When you want to create a... | Use a... |
---|---|
New Project wizard | New Project Template wizard |
New Sample wizard | New Project Template wizard |
New File wizard | 'New File' registration type in the New Wizard wizard |
Any other type of wizard | 'Custom' registration type in the New Wizard wizard |
Depending on the type of wizard you want to create, do the following:
To create a New File wizard or a custom wizard:
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.
In the Name, Icon, and Location page, you have to set the following:
After completing the wizard, you can do one or more of the following:
To create a new project template or a sample wizard:
Click Next.