Are you trying to run this program as a console application? Applets are not run the same way console applications are in Java. Java.exe is used to run applications whereas AppletViewer.exe is used to run applets.
Regards,
~Tyler S. Breton
TylerSBreton
Junior Poster in Training
89 posts since Oct 2006
Reputation Points: 25
Solved Threads: 3
Compiles and runs fine for me.
TylerSBreton
Junior Poster in Training
89 posts since Oct 2006
Reputation Points: 25
Solved Threads: 3