// Purpose: Test the HelloWorld.htm and HellowWorld.class applet

// source: http://en.wikipedia.org/wiki/Java_applet

 

A.    Source files:

HelloWorld.java            HelloWorld.htm

 

B.    To test the applet:

1.     Compile HelloWorld.java into HelloWorld.class

2.     Place both HelloWorld.class and HelloWorld.htm in the same folder.

3.     Use one of the methods below to test the applet.

 

a)     Running the applet using AppletViewer:

b)     Running the applet  (as a local file) using a browser:

c)     Using a browser to load the html file from a web server: