I downloaded the Java 2 plug-in, installed it, and I still can't see Java
applets written in Swing in either Netscape or Internet Explorer. Does anyone
know how to help me; this supposedly good Core Java book doesn't tell me
crap either.
Printable View
I downloaded the Java 2 plug-in, installed it, and I still can't see Java
applets written in Swing in either Netscape or Internet Explorer. Does anyone
know how to help me; this supposedly good Core Java book doesn't tell me
crap either.
Hi Bob,
Which version of Netscape or IE are you using? Netscape should be above 4.51
and IE should be 5.0+.
As far as my knowledge is concerned, Java 2 plugin that you have downloaded
might not support certain
components of swings. You can try out your applet using HotJava, which is
pure java browser.
Hetal
"Alligator Bob" <icelake@aol.com> wrote:
>
>I downloaded the Java 2 plug-in, installed it, and I still can't see Java
>applets written in Swing in either Netscape or Internet Explorer. Does
anyone
>know how to help me; this supposedly good Core Java book doesn't tell me
>crap either.
I have found out that you require to include plug-in link in the HTML file
produced by the HTML
converter.
URL url = new URL("javascript:'" + html + "'");
myapplet.getAppletContext.showDocument(url, "_blank");
where html is any valid string of html tags that does not contain
any '\n',
e.g. <HEAD><TITLE>title</TITLE></HEAD><BODY>Hello!</BODY>
Or else
You can try out your applet using HotJava, which is pure java browser.
Hetal
>"Alligator Bob" <icelake@aol.com> wrote:
>>
>>I downloaded the Java 2 plug-in, installed it, and I still can't see Java
>>applets written in Swing in either Netscape or Internet Explorer. Does
>anyone
>>know how to help me; this supposedly good Core Java book doesn't tell me
>>crap either.
>