# JFace Wizard Wizard

Subclasses of the JFace Wizard class can be created using the JFace Wizard wizard. The wizard can be selected from the drop down wizard menu or from the Eclipse New wizard. To use the wizard, select the project source folder and package to contain the class. Then enter the class name, use the Add button to add individual WizardPages that have already been created, and hit the Finish button.

The wizard generates the following code.

> import org.eclipse.jface.wizard.Wizard;
> public class JfaceWizardTest extends Wizard {
> public JfaceWizardTest() {
> setWindowTitle("New Wizard");
> }
> public void addPages() {
> addPage(new FirstPage());
> addPage(new SecondPage());
> addPage(new ThirdPage());
> }
> public boolean performFinish() {
> return false;
> }
> }