Creating A Wizard

See Also

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:

  1. Right-click a module project and choose New > Project Template.
  2. In the Wizard Type page, you have to set the following:

    In the Name, Icon, and Location page, you have to set the following:

  3. Only if the wizard will be registered as a New File wizard can you set the following items:
  4. Click Finish.

After completing the wizard, you can do one or more of the following:

To create a new project template or a sample wizard:

  1. Right-click a module project and choose New > Project Template.
  2. In the Select Project page, you have to specify the project that you want to make available as a project template or sample. You can use the Project drop-down list to select an open project or you can click Browse to browse to a project in your filesystem.

    Click Next.

  3. In the Name, Icon, and Location page, you have to set the following:
  4. Click Finish.

After completing the wizard, you can do one or more of the following:

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

Legal Notices