I don't know what you ae trying there - but that's no applet.
Follow this:
Applet Tutorial[
^]
To get a valid applet. Also needs the browser to accept the Java Applet.
If that support is disabled by default, you might never notice the applet is there.