How to Use Buttons?
import java.awt.*;
public class TestButton {
public static void main(String[] args){
Frame f = new Frame("TestButton");
f.setSize(200,200);
Button hw = new Button("Hello World!");
f.add(hw);
f.show();
}
}
Previous slide
Next slide
Back to first slide
View graphic version