File
Doc
Category
Size
Date
Package
ButtonDemo1_0.java
API Doc
Example
316
Sun Dec 27 15:20:40 GMT 1998
None
ButtonDemo1_0
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
public class ButtonDemo1_0 extends Applet
Demonstrate use of Button
Fields Summary
Button
b1
Constructors Summary
public ButtonDemo1_0
()
add(b1 = new Button("A button"));
Methods Summary
public
boolean
action
(
java.awt.Event
event,
java.lang.Object
what)
showStatus("Thanks for pushing my button!"); return true;
Java Code Source