|
|
Listing of Button1.java
//
Button1.java
// A program
that creates a button
// Kevin
Boone, May 1999
import
java.applet.Applet;
import
java.awt.*;
public class
Button1 extends Applet
{
public
Button1()
{
Button myButton = new Button ("Click
me");
add (myButton);
}
} // class
|
|