1 |
Steps to running a Java Applet:
-
1. Write an HTML file that refers to the applet using the APPLET tag, described in later pages.
-
2. If necessary, write the Java code and compile into .class files
-
3. Visit the HTML file with a web browser or with appletviewer.
|
2 |
Using a Browser
-
With a Java-enabled web browser, such as Netscape 2.0/3.0/4.0, Microsoft Internet Explorer or HotJava, you run an applet by "surfing" to a web page containing the APPLET tag.
|
3 |
Using appletviewer
-
When doing development, use appletviewer to run applets by specifying the HTML file on the command line:
|