extremeblueness Posted January 6, 2013 Share Posted January 6, 2013 Here's my HTML file: <HTML> <HEAD> <TITLE>Hangman</TITLE> </HEAD> <BODY> <applet code="Hangman.jar" width="500" height ="200" codebase="." archive="file:/C:/Java/Hangman/" alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason." > Your browser is ignoring the <APPLET> tag! </applet> </BODY> </HTML> Here's my error message when I go to try and run it: Don't know what to do, mainly because the error is non-sensical. Quote Link to comment Share on other sites More sharing options...
fairy_smile Posted April 6, 2013 Share Posted April 6, 2013 Do you still need help with this? I would have to delve into Sun's Oracle's tutorials, but it looks like tutorial code and I can't see anything obviously wrong with it. I'm not quite sure what goes into the archive attribute on the applet tag though, and whether a directory is the right value. How'd you write this code, did you use a reference or a tutorial, or a book? If so, the original link might be helpful as there could be some important context there. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.