-
How to use Java Swing applets......
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.
-
Re: How to use Java Swing applets......
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.
-
Re: How to use Java Swing applets......
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.
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks