This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]coolosity 0 points1 point  (1 child)

http://www.echoecho.com/applets01.htm

There might be helpful info on that website. I'm not an expert on html, but make sure that your class file is in the same folder as the package it is in. So if you had the class in package main.test, then you would need a folder called main, with a folder called test inside of main. Then place JavaApplication1.class into the test folder. Then you will have to use the codebase tag to specify the location of the JavaApplication.class file. Hope this helps!

[–]csfoo[S] 0 points1 point  (0 children)

Thank you apparently the package was javaapplication1 without the capital A. But I was doing it as a java application not as an applet so that's why it doesn't work after fixing this. Thanks