FileDocCategorySizeDatePackage
WindowCloserDemo.javaAPI DocExample495Sat Mar 20 14:45:28 GMT 2004None

WindowCloserDemo

public class WindowCloserDemo 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));