Win a copy of Learning Regular Expressions this week in the General Computing 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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
 
Bartender
Posts: 19735
92
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
Bartender
Posts: 19735
92
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!
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!