1 | Here is an HTML file with an applet tag to display the results of drawing the applet. First compile the file HelloApplet.java and then run the browser on this html file. |
2 | The students had a JavaEdit (public domain edit/compile environment) program that made this easy. |
3 | <html><head> |
4 | <title>Simple Hello Page</title> |
5 | </head> |
6 | <body> |
7 | My Java applet says: |
8 | <applet code="HelloApplet.class" width=150 height=25> |
9 | </applet> |
10 | </body></html> |
11 | Name of your applet class. |
12 | The browser will use a rectangle of width 150 pixels and height 25 pixels to display the applet within the other html. |
13 | We made a Java Version |