This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Java in General and the fly likes Applets & Swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Applets & Swing" Watch "Applets & Swing" New topic

Applets & Swing

Sayed Ibrahim Hashimi
Ranch Hand

Joined: May 17, 2001
Posts: 148
I posted this topic in the applets forum about a week ago, but have not received any responses so thought I'd post it here.

I have created an applet that uses Swing. I would like to make sure that for users that don't have the appropriate plug in installed that they will also be able to use it. I was wondering what the best approach for this would be. Wether for them to download the plugin, or for me to include the swingall.jar in my applet?

Thanks in advance,
Sayed Ibrahim Hashimi
[ March 16, 2005: Message edited by: Sayed Ibrahim Hashimi ]

SCJP 1.4<br /><a href="" target="_blank" rel="nofollow"></a>
Dale Seng
Ranch Hand

Joined: Mar 22, 2004
Posts: 275
In the web page that delivers the applet, you can automatically send the user to update their browser's JVM if it is out of date. So, no, I would not include the Swing jar in the applet, but I might redirect if the browser's JVM was old. I found the html code by going to a site that used applets well and did a 'view source'.

Sayed Ibrahim Hashimi
Ranch Hand

Joined: May 17, 2001
Posts: 148
Thanks for the idea, I'm going to look into this and continue trying some other ideas.

Sayed Ibrahim Hashimi
I agree. Here's the link:
subject: Applets & Swing