Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets & Swing

 
Sayed Ibrahim Hashimi
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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 ]
 
Dale Seng
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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'.

--Dale--
 
Sayed Ibrahim Hashimi
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dale,
Thanks for the idea, I'm going to look into this and continue trying some other ideas.

Thanks,
Sayed Ibrahim Hashimi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic