FileDocCategorySizeDatePackage
WindowCloserTest.javaAPI DocExample501Mon May 28 00:19:30 BST 2001None

WindowCloserTest

public class WindowCloserTest extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

		Frame f = new Frame("Close Me");
		f.add(new Label("Try Titlebar Close", Label.CENTER));
		f.setSize(100, 100);
		f.setVisible(true);
		f.addWindowListener(new WindowCloser(f, true));