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
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.
An IDE is no substitute for an Intelligent Developer.
posted 16 years ago
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 ]