How to embed an applet in html?
in
Integration and Hardware
•
2 years ago
Hi,
I want to embed an applet in an html page.
I have clicked on File->Export Applet and created the 5 files:
index.html
loading.gif
MySinWave3 (Nokia Application Installer File)
MySinWave2.java
MySinWave3.pde
I uploaded the last three files to my server and copied and pasted what was in 'index' into the html on my site.
Then I added a full link in the html so that the source code line near the bottom now reads
http://www.shanegibney.com/shanegibney/staticpages/index.php?page=20110824175438835
When I try to run it I get this error,
Any help would be greatly appreciated,
Thanks,
Shane
I want to embed an applet in an html page.
I have clicked on File->Export Applet and created the 5 files:
index.html
loading.gif
MySinWave3 (Nokia Application Installer File)
MySinWave2.java
MySinWave3.pde
I uploaded the last three files to my server and copied and pasted what was in 'index' into the html on my site.
Then I added a full link in the html so that the source code line near the bottom now reads
- Source code: <a href="http://www.shanegibney.com/shanegibney/MySinWave2.pde">MySinWave2</a>
http://www.shanegibney.com/shanegibney/staticpages/index.php?page=20110824175438835
When I try to run it I get this error,
- load: class MySinWave2.class not found.
java.lang.ClassNotFoundException: MySinWave2.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassNotFoundException: MySinWave2.class
Any help would be greatly appreciated,
Thanks,
Shane
1