Link to home
Start Free TrialLog in
Avatar of ramani081399
ramani081399

asked on

Running Applet

I am learning to write applets. I have a IE 4.0 browser and Jdk1_0_2 compiler which I downloaded from the site. I am trying to write the simple helloworld applet ,but i dont see the applet running.My browser is java enabled. I saved the HelloWorld Applet.java in the bin directory and at the dos prompt did javac HelloWorldApplet.java which creatd a .classfile. In the same bin directory I saved the HelloWorldApplet.html file,which saved the file with the IE icon. On clicking on this file I dont see the applet but plain html code written to the browser. Could somebody tell me what could be wrong or what are the steps to be followed.
Ramani
Avatar of AMD_MAN
AMD_MAN


Can you show us the html and the Java code?  They shouldn't be very long.

AMD_MAN
ASKER CERTIFIED SOLUTION
Avatar of snoopy00
snoopy00

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

Your html file can be all of one line.

Like this one:

<applet code=MyClass.class> </applet>

Worked for me on IE 5

AMD_MAN

Avatar of ramani081399

ASKER

AMD MAN

Thank You