FileDocCategorySizeDatePackage
ButtonDemo.javaAPI DocExample375Sun Dec 27 15:20:26 GMT 1998None

ButtonDemo

public class ButtonDemo extends Applet implements ActionListener
Demonstrate use of Button

Fields Summary
Button
b1
Constructors Summary
public ButtonDemo()

		add(b1 = new Button("A button"));
		b1.addActionListener(this);
	
Methods Summary
public voidactionPerformed(java.awt.event.ActionEvent event)

		showStatus("Thanks for pushing my button!");