Release of stored form from stack.
- By Chang Sau Sheong
- April 24, 2001
Component Java
Build Wizards Quickly Using a Swing-Based Wizard Framework
Chang Sau Sheong
Listing 4. Release of stored form from stack.
. . .
public abstract class WizardFrame extends JFrame
implements Wizard {
. . .
public void previousAction() {
JFrame previousFrame = (JFrame)popFrame();
previousFrame.setVisible(true);
setVisible(false);
}
}
. . .
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].