|
Re: need help on applet
|
Posted: Mar 22, 2002 12:04 PM
|
|
What browser are you using? I just had a similar problem; I'm on 2 machines - a Sun workstation running Netscape 4.79, and a Windows PC running Netscape 4.78, so what worked for me may or may not work for you.
On the Sun, I recompiled the applet in question with the "-target 1.1" option - that still gave me an error, but it was different from the error I initially had, and it turned out to be in my code.
However, on the PC, which I had just recently started using to develop Java, what resolved my problem was enabling the Java plug-in.
But, according to a reference book I have (Core Java, copyright 2001), as well as some sources I've seen on the Web, the HTML for applets is supposed to be "converted" for it to run in the newer browsers - the Sun site supplies a tool for doing this conversion.
HTH!
Lynn.
|
|