You also need an HTML file to accompany your applet. Type the following code into a new NotePad document
<HTML> <HEAD> <TITLE> A Simple Program</TITLE> </HEAD> <BODY> Here is the output of my program: </APPLET> </BODY> </HTML>
The compiler should generate a Java bytecode file, HelloWorld.class.