943,955 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Marked Solved
  • Views: 612
  • Java RSS
Apr 16th, 2008
0

Java Applet HTML Issues

Expand Post »
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.

Java Syntax (Toggle Plain Text)
  1. <html>
  2. <H3><HR WIDTH="100%">Applet HTML Page<HR WIDTH="100%"></H3>
  3.  
  4. <P>
  5. <APPLET code="Fireworks.class" width=350 height=200></APPLET>
  6. </P>
  7.  
  8. </html>
Similar Threads
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
CaffeineCoder is offline Offline
55 posts
since Feb 2008
Apr 16th, 2008
0

Re: Java Applet HTML Issues

Try adding some println statements to your init() method to see where the initialisation fails. Your html code appears correct to me...
Reputation Points: 395
Solved Threads: 192
Veteran Poster
darkagn is offline Offline
1,136 posts
since Aug 2007
Apr 16th, 2008
0

Re: Java Applet HTML Issues

Thanks. Found that the IDE created some text that throws the system off. Goofs up the system.
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
CaffeineCoder is offline Offline
55 posts
since Feb 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Need help with cipher alphabet(a minor problem)
Next Thread in Java Forum Timeline: Need help with a homework assignment.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC