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
ramani081399Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AMD_MANCommented:

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

AMD_MAN
0
snoopy00Commented:
Possibly the default action for .html in your Windows environment is 'edit' and not 'open'.  Try going into your Browser and doing a File>Open on the html document.  That should work.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AMD_MANCommented:

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

0
ramani081399Author Commented:
AMD MAN

Thank You
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.