FileDocCategorySizeDatePackage
PopupDemo.javaAPI DocExample2142Sat Nov 25 12:55:16 GMT 2000None

PopupDemo

public class PopupDemo extends Frame
Provide a pop-up menu using a Frame. On most platforms, changing the mouse "settings" changes how the isPopupTrigger() method behaves instantly - which is as it should be!

Fields Summary
Constructors Summary
public PopupDemo(String title)
Construct the main program

		super(title);

		setLayout(new FlowLayout());
		add(new PopupContainer(
			"Hello, and welcome to the world of Java"));
		pack();
		setVisible(true);
	
Methods Summary
public static voidmain(java.lang.String[] av)
"main" method - for testing.

		new PopupDemo("Hello").setVisible(true);