[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: how to pop up a wizard page

Have you created at least one WizardPage and added it to the wizard?

In your MyNewWizard class, override the addPages() method. Then call
addPage(WizardPage) repeatedly until all your pages are added. Add them in
the order you'd like to see them displayed.

Think of the Wizard class as a controller that will display the
WizardPage. WizardPage is where the actual content is created and entered.

Hope this helps,
Kevin



philipp.tiedt@xxxxxxxxxx wrote:

> Hi Peter,

> if i do it like this 

> Shell shell = new Shell();
> shell.open();
> shell.setVisible(true);
> new WizardDialog(shell, new MyNewWizard());

> just a shell pops up but not containing a the wizard ...