class MouseApplet not found... why?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Saturday, August 31, 2002 08:01 AM

I have a major problem!
I program in Java for about 1 year now, but started to interest in Applets just some days ago. I read what there is to do to form a java-programm into an applet in a book. I uploadet the class-file (it was MouseApplet.class) and included it into a html-page by
and I think that's right and should be working.
But when I try to load it in a browser it says (in the lower bar - I forgot its name):
load: class MouseApplet not found
It is in the same directory as the html-file... can anyone help me please?

Re: class MouseApplet not found... why?

Posted By:   Gergely_Dombi  
Posted On:   Saturday, August 31, 2002 08:49 AM

your html code must support both IE and Netscape extension
mechanism
place this code into your html file instead of
:
MouseApplet

classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="100" height="50" align="baseline" codebase="http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#Version=1,2,2,0">




"application/x-java-applet;version=1.2.2"
width="200" height="200" align="baseline"
code="MouseApplet.class" codebase="."
pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html">
<br/></COMMENT><br/> No Java 2 support for APPLET!!<br/>