Hi, I tried yur Applet in netbeans, minus the Java Main Class code above. And it worked fine when I compiled and executed the Applet.
I have the Applet inside the classes directory of WEB-INF, when the HTML code is in the classes directory, It doesn't seem to work by executing the HTML page first. I have the same problem with my applets.
But.. when I put my 2 files (.html and .class) into a folder inside my webhosting site, it works fine... seehere.
Did you try using just the applet code, and also including BODY tag in the HTML, it should work.
Joined: Apr 11, 2005
Hi, I just put the ticker1.class and ticker1.html files into the same directory on my website, and its fine. Click here to see it working.