You are not using the <applet> tag, are you?
When using JApplet, you have to change it to something
like:
<OBJECT
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="600" height="600"
codebase="http://java.sun.com/products/plugin/1.2/jinstall-12-win32.cab#Version=1,2,0,0">
<PARAM NAME="code"
VALUE="EarthConnectedSpreadsheetApplet.class"><PARAM
NAME="archive" VALUE="econ.jar"
<PARAM NAME="type"
VALUE="application/x-java-applet;version=1.2">
<COMMENT>
<EMBED
code="EarthConnectedSpreadsheetApplet.class"
archive="econ.jar" height="480" width="640"
pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html"
type="application/x-java-applet;version=1.2">
</COMMENT>
</EMBED>
</OBJECT>
You don't need the archive parameters if you don't put
your .class files in a jar. This code is from
JavaWorld (I think...) and explanations are on their
site.
Michael.
--- David Chinoraks <[EMAIL PROTECTED]> wrote:
> Hi..
>
> I am using Java 2SDK Standard Edition v1.2.2.007
> with Java Runtime Environment edition v1.3.0.0.1.
> When I complie java program with JApplet, I can not
> view .class file in HTML file with IE 5 or Netscape.
>
> If I use java.applet.Applet, both browsers work
> fine.
>
>
> I need to complie with JApplet. Please let me how
> to get browsers to with it.
>
> Thanks,
>
> David
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great
> prices.
> http://auctions.yahoo.com/
> _______________________________________________
> Swing mailing list
> [EMAIL PROTECTED]
> http://eos.dk/mailman/listinfo/swing
=====
-------------------------------------------------
Michael Grunberger
[EMAIL PROTECTED]
Download my F R E E Java Spreadsheet at: http://econ.terrashare.com/spreadsheet.htm
incl. source code for developers
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing