Package org.openbp.swing.components.wizard

Examples of org.openbp.swing.components.wizard.WizardImpl


    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);
  }
View Full Code Here

TOP

Related Classes of org.openbp.swing.components.wizard.WizardImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.