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

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
place this code into your html file instead of

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">

width="200" height="200" align="baseline"
code="MouseApplet.class" codebase="."
<br/></comment><br/> No Java 2 support for APPLET!!<br/>