Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Browsing Swing Applet

 
Nigel Chou
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I using Swing in an applet and use IE 5.0 to browse it. But the applet can not been instantialized in the browser.
Any alternative approach in server side to solve the problem except to intall a Java Plug-in in the client side?

------------------
Sun Certified Java Programmer for the Java 2 Platform
 
Tim Holloway
Saloon Keeper
Posts: 18365
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, but it's even worse. Include the swingall.jar file in the applet tag's code sources. It's about 1.5 MB and will be downloaded EVERY TIME that the browser decides there's not a trustworthy copy in cache.
I recommend the plug-in. Unless someone actually manages to rein in Microsoft, you're going to be seeing more and more cases where the client systems weren't supplied with a Java plugin at all - not even the feeble ancient one that they used to provide.
It's certainly a problem. I positively refuse to install plugins I can't trust, don't want, and probably don't need (like the ones to support webcams when jpg and HTML are quite adequate). It's especially bad with something as huge as Java and bad squared over a 28.8 modem. However, Java IS something I feel is necessary (regardless of what Bill Gates thinks), and the pain occurs only once per Java release.
 
Nigel Chou
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, Tim, for your helpful reply!
My applet and page is only for local network, so it's viable to
Include the swingall.jar file in the applet tag's code sources.
Even it's 1.5MB. But I have 2 more question about that.
1. How to get swingall.jar? There are no 'swingall.jar' in JDK1.3.
2. How to include the file in the applet tag's sources?
Thanks again!
I will appreciate any reply.
[ January 04, 2002: Message edited by: Jianping Zhou ]
 
Tim Holloway
Saloon Keeper
Posts: 18365
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think maybe swingall.jar was used when Swing was in Beta. You may be better off using the Java plug-in. It only hurts them the first time!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic