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>

Recommended Answers

All 2 Replies

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.