Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: phranque
And welcome to Webmasterworld CowgirlPersuasion.
I believe a lot of webmasters don't like java applets because they are often slow to download, crash web browsers and aren't always worth the bother for what they actually 'do'.
Correct me if I'm wrong I'm no java applet expert.
When you make your applet, you should end up with some code to put in your html page. For example:
<APPLET CODE="Typewriter4.class" HEIGHT="30" WIDTH="170">
<PARAM NAME=COPYRIGHT VALUE="Typewriter applet, Copyright 1996 Sun Microsystems, Inc., all rights reserved.">
<PARAM NAME=TEXTFILE VALUE="type.txt">
<PARAM NAME=FONTNAME VALUE="Verdana">
<PARAM NAME=FONTSIZE VALUE="11">
<PARAM NAME=FONTSTYLE VALUE="bold">
<PARAM NAME=URL VALUE="services.html">
<PARAM NAME=SPEED VALUE="100">
<PARAM NAME=BGCOLOR VALUE="0,51,153">
<PARAM NAME=TEXTCOLOR VALUE="255,255,255">
In the code above it refers to "Typewriter4.class" this a SEPARATE file that your program should have created, (obviously your program will refer to a different .class file) and this MUST be included with all your other files, in the same directory (I think) as your html files. That's the way I've always done it when I (blush) have used Java Applets.
Hope this helps.