A WizardFrame object.

Component Java
Build Wizards Quickly Using a Swing-Based Wizard Framework
Chang Sau Sheong
Listing 3. A WizardFrame object.


. . .
  //Construct the frame
  public WizardFrame() {
    enableEvents(AWTEvent.WINDOW_EVENT_MASK);
    try  {
      customize();
      init();
    }
    catch(Exception e) {
      e.printStackTrace();
    }
  }
. . .

About the Author

Chang Sau Sheong is vice president of product engineering at elipva Ltd. (formerly known as sstarfire.com). He can be contacted at [email protected].