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
Joined: Jul 09, 2001
Posts: 76
posted
0
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