jfreak53
12-31-2011, 09:17 PM
I am trying to get my new JApplet to display on a web page, html file.
I am using NetBeans 6.9 for Ubuntu. I created a new project called "JavaApplication1", no main class. Then I added a new JApplet, with the default name of NewJApplet.java.
So I did a clean and build to make sure the JAR under the "dist" dir is fresh and new. Then I created a new HTML file in the dist dir with the new JAR and put this inside:
<applet code="JavaApplication1.NewJApplet"
archive="JavaApplication1.jar"
width=640 height=480>
</applet>
I run the file and though the grey screen comes up in Chrome, my app is not there, none of my buttons nothing, just the gray frame.
Any thoughts, what did I break? ha ha Thanks.
I am using NetBeans 6.9 for Ubuntu. I created a new project called "JavaApplication1", no main class. Then I added a new JApplet, with the default name of NewJApplet.java.
So I did a clean and build to make sure the JAR under the "dist" dir is fresh and new. Then I created a new HTML file in the dist dir with the new JAR and put this inside:
<applet code="JavaApplication1.NewJApplet"
archive="JavaApplication1.jar"
width=640 height=480>
</applet>
I run the file and though the grey screen comes up in Chrome, my app is not there, none of my buttons nothing, just the gray frame.
Any thoughts, what did I break? ha ha Thanks.