954,152 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Java Applet HTML Issues

OK, this should be easy (in theory) but I'm having issues with the java applet showing up in the HTML. The applet works when I run it within the IDE, but when I try to run the applet, a message in the bottom left of the applet window says that the initializing failed. Anyone have any advise or recommendation on this?? The code below is the applet that is in the same dir as the class file.

<html>
<H3><HR WIDTH="100%">Applet HTML Page<HR WIDTH="100%"></H3>

<P>
<APPLET code="Fireworks.class" width=350 height=200></APPLET>
</P>

</html>
CaffeineCoder
Junior Poster in Training
58 posts since Feb 2008
Reputation Points: 10
Solved Threads: 1
 

Try adding some println statements to your init() method to see where the initialisation fails. Your html code appears correct to me...

darkagn
Veteran Poster
1,197 posts since Aug 2007
Reputation Points: 404
Solved Threads: 200
 

Thanks. Found that the IDE created some text that throws the system off. Goofs up the system.

CaffeineCoder
Junior Poster in Training
58 posts since Feb 2008
Reputation Points: 10
Solved Threads: 1
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You