these code are from <<Graphic Java 1.2 Mastering the JFC Volume I:AWT>>, I want to simulate the action of buttong-clicking, but I can't see the result, I am using jdk1.4
public class TestApplet extends Applet { public void init() { final Button button1 = new Button("other button activates me"), button2 = new Button("press me");