This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet can't be instantiated

 
Rudy Holtkamp
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've made an applet in Borland JBuilder 3.0 and it works perfectly in the appviewer, but when I make a complete jar-file with all classes that are used and open an html page with the following code:
< HTML>
< HEAD>
< META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
< TITLE>
HTML Test Page
< /TITLE>
< /HEAD>
< BODY>
Honk2.Honk2Applet will appear below in a Java enabled browser.
< APPLET<br /> ARCHIVE = "Game.jar"<br /> CODEBASE = "."<br /> CODE = "Honk2.HonkApplet.class"<br /> NAME = "TestApplet"<br /> WIDTH = 525<br /> HEIGHT = 525<br /> HSPACE = 0<br /> VSPACE = 0<br /> ALIGN = middle<br /> >
< PARAM NAME = NumberOfAIPlayers VALUE = "3">
< PARAM NAME = NumberOfHumanPlayers VALUE = "1">
< PARAM NAME = ShufflePlayOrder VALUE = "false">
< /APPLET>
< /BODY>
< HTML>
The browser says:
load: Honk2.HonkApplet can't be instantiated
I don't know what I'm doing wrong. Can anybody help me.
Rudy
[This message has been edited by Cindy Glass (edited August 20, 2001).]
 
Rehan Malik
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to download the HTMLConverter to convert your HTML file. It's a headache of having to do so but there's no other option =P
Check Sun's website for the HTML Plug in
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic