Click to See Complete Forum and Search --> : very urgent:--- javacode works fine in appletviewer,but doesn't work with browsers,
Shekhar
April 9th, 2000, 01:52 PM
Dear All,
Code written in java works fine in jdk 1.2 appletviewer, but if the html file is viewed in the browsers like Internet Explorer 5.0 then it gives error :- class not found.
I am using swing classes JTree,JTable etc,
My other applets are working fine in browsers..they donot use swing classes,
anybody can suggest the procedure so that I will be able to view swingapplet in browser
Thanks in advance,
Shekhar
poochi
April 9th, 2000, 04:57 PM
You have to install java plugin in your machine. Just convert your HTML file using
HTMLConvertor ( you can get it in Sun site ), then open your HTML file in Browser.
Poochi..
April 12th, 2000, 06:32 PM
Even after installing java plugin, do we need to use HTML converter?
joem236
April 12th, 2000, 06:53 PM
Yes,
Because there are different ways to call the java plugin for Netscaape & IE. The HtmlConverter will do this for you....
Hope it helps.
Joe
coolwizard
April 13th, 2000, 02:36 AM
I think your html page is wrong. please use it.
<HTML>
<HEAD>
<TITLE>Autogenerated HTML</TITLE>
</HEAD>
<BODY>
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH=636 HEIGHT=516
codebase="http://java.sun.com/products/plugin/1.2/
jinstall-12-win32.cab#Version=1,2,0,0">
<PARAM NAME="archive" VALUE="fbb02_a.jar">
<PARAM NAME="code" VALUE="fbb02_a.class">
<PARAM NAME="codebase" VALUE=".">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.2">
<PARAM NAME="message" VALUE="Hello World! This is Java Plug-in!">
</OBJECT>
</BODY>
</HTML>
coolwizard
Shekhar
April 13th, 2000, 01:59 PM
Thank you very much for the HTML file, I will try with it.
Shekhar
April 13th, 2000, 02:05 PM
Thank you all of you.
I have downloaded HTML Converter.I will try with it.
Thanks again
Shekhar
satish24
February 28th, 2001, 11:00 AM
My applet( java1.1) works fine with windows 2000 but doesnt work on win98 with IE 5.X.Please help me with this.I downloaded updated JVM from microsoft but need to get away without using this download since I am doing a consumer level applet which means I dont want users to download JVM which is alomst 5MB.
Shekhar
February 28th, 2001, 11:04 PM
5 MB JVM!
5 MB runtime download means you must be using Swing isnt it?. If you mean same, then I have one
Suggestion :- make jar file of necessary classes only along with Applet class file.
e.g if you are using swing table component then get classes necessary for table only.
I never tried but may you try with this! I dont know this will work or not!
But since it is consumer prd. I think painting the entier canvas (table , grid etc etc) stuff for table will be good it will be much faster.
I think big browser should include these 5 mb plugins in their browsers it will be easier for us!
I think this should help you if you mean same that what I have written above. If not then please feel free to write to me with details.
ID :- chiplunkar_shekhar@hotmail.com
codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved.