Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

Browsing Swing Applet  RSS feed

 
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
 
Saloon Keeper
Posts: 20649
122
Android Eclipse IDE Java Linux Redhat Tomcat Server
  • 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: 20649
122
Android Eclipse IDE Java Linux Redhat Tomcat Server
  • 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!
 
Seriously? That's what you're going with? I prefer this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!