I have been developing applets with swing, which work fine when tested with applet viewer. The only problem I have is that they never run in Internet Explorer 5.0 . Is this a problem with IE?? Also are there any plug-in's or bug-fixes for this? How else am I supposed to get swing applets to work in Internet Explorer. Thanks in advance
hi aseem, u need to have plugin in order to run your swing code in IE/netscape. what u can do is u go to sun's site & download HTML converter from there . using this converter u convert ur html file. after conversion whenever u'll try to see ur swing applet this converted HTML file will automayically download the plugin from sun's site and u'll be able to see ur swing applet. regards deekasha
posted 20 years ago
I tried using the html converter and converted my html files but now it woudn't load in IE. It keeps giving me errors - illegal opeartion performed....close browser....etc...
Originally posted by Aseem: I tried using the html converter and converted my html files but now it woudn't load in IE. It keeps giving me errors - illegal opeartion performed....close browser....etc...
Try downloading the java 1.2.2 (depends on your version of jdk)plugin from java.sun.com/products/java-plugin After that it should run the html convertor solution is not feasible when you have to work offline (as most of us have to )
I have a swing applet embedded in a web page. I am using the jdk1.2.2. Here is the jist of how I did it. for your browsers you can get the latest plug-in(1.3) at http://java.sun.com/products/plugin/index.html the plugin contains all earlier plugins. With the new java plugin the applet tag has to be replaced. (This is all mentioned on suns website). Given below is the new block of html I used for my applet. The first part ensures that the applet runs under explorer and the second part ensures that it runs with netscape. HOW TO DISABLE HTML IN THIS MESSAGE? < !-- <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="575" height="400"><br /> <PARAM NAME="codebase" VALUE="/filemanager"><br /> <PARAM NAME="code" VALUE="FileManager.class"><br /> <PARAM NAME="type" VALUE="application/x-java-applet;version=1.2.2"><br /> <param name="root" value="/"><br /> <param name="follow" value="0"><br /> <COMMENT><br /> <EMBED type="application/x-java-applet;version=1.2.2" width="640" height="480" code="FileManager.class" pluginspage="http://javaweb.eng/plugin/plugin-install.html" root="/" follow="0" codebase="/filemanager"><br /> <NOEMBED></COMMENT><br /> No JDK 1.3 for APPLET!!!<br /> </NOEMBED><br /> </EMBED><br /> </OBJECT> --> note: root and follow are parameters used by my applet and are not required. Note: I specify that I am using the 1.2.2 jdk in the block above. Notice also: You can have different sizes for the different browsers. Hope this helps. Jeff [This message has been edited by Jeff Weinheimer (edited August 31, 2000).] [This message has been edited by Jeff Weinheimer (edited August 31, 2000).] [This message has been edited by Jeff Weinheimer (edited August 31, 2000).]
hi guys, I have a chat program in swings that i have to deploy in net, it uses swings , if i use htmlconverter and convert those files too and run that in browser it asks me to download the plugin from the suns site which is about 5 mb , so that means that if a client on the net wants to chat, hell have to download the module?? that does not sound a very good idea considering also that it takes considerable time to download over the net? Plz advice me, ill be thankful Regards and thanks , Daman
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop