For debugging, you can use Java's command-line applet viewer to view the applets embedded in an HTML file. You type, for example, the following:
appletviewer file:///d:/phw/onto/java/test.html
When you use the applet viewer on the HTML file shown in Segment 811, you see the following. Note that, when you use the applet viewer on an HTML file that contains an applet, you see only the embedded applet; you do not see the other entries in the HTML file.