0

I have finished a java application in NetBeans (made of single jFrame form), but was at the very end instructed, to transform it an app. I did so by adding a new jApplet form to the same project and copied all of the contents from jFrame form, onto a new jApplet form, and it runs perfectly from Netbeans. However, when i try to run the app.class from the HTML document in the browser, it doesn't run and displays the following error:

enter image description here

HTML file (positioned in the same folder as NewJApplet.class(..Gume\build\classes\demo)) contains:

<applet code="NewJApplet.class" height=800 width=600></applet>

Project structure:

enter image description here

I tried running the automatically generated html file, but it displays just a gray area. Please help me solve the problem, i'm really short on time. Thank you.

Kumara
  • 117
  • 2
  • 10

0 Answers0