if (url != null)
{
backgroundImage = new ImageIcon(url);
}
WizardImpl wizard = new WizardImpl(null, image, backgroundImage);
wizard.addAndLinkPage("info", new TestInformationPanel(wizard));
wizard.addAndLinkPage("favorites", new TestFavoritesPanel(wizard));
wizard.addAndLinkPage("java", new TestResultPanel(wizard, "Java", "100% Pure Genius!"));
wizard.addAndLinkPage("cpp", new TestResultPanel(wizard, "C/C++", "You'll see..."));
wizard.addAndLinkPage("pascal", new TestResultPanel(wizard, "Pascal", "Oh well..."));
wizard.addAndLinkPage("smalltalk", new TestResultPanel(wizard, "SmallTalk", "Object Oriented"));
wizard.addAndLinkPage("cobol", new TestResultPanel(wizard, "Cobol", "Year 2k problems?"));
wizard.addAndLinkPage("fortran", new TestResultPanel(wizard, "Fortran", "Try Mathematica!"));
wizard.displayFirst();
getContentPane().setLayout(new BorderLayout());
getContentPane().add("Center", wizard);
}