MyFirstButton

The sample applet MyFirstButton.java is compiled using javac and an HTML page created (you can use the script makehtml.pl and the command makehtml.pl MyFirstButton). Using the appletviewer, the result of System.out.println will appear on the command line.

Using a browser, open the Java console window in order to see the results of System.out.println.

We work in Java 1.1. There are significant differences between Java 1.0 and 1.1, and early browsers do not run Java 1.1. For more information see the browser information page.