Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Applet question - loading and running

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I made a very simple applet, just your typical 'HelloWorld' applet. I compiled it into a .class, and used DreamWeaver to make a webpage to run it. I opened the webpage DreamWeaver made, but IE says that it could not find the file. How do I fix this? The .class and the .html are in the same directory.
 
Your using IE. Don't use IE, it doesn't support Java. Use Netscape 6.0+ or Opera 5.0+ ( X-) "and everything under the sun is in tune
but the sun is eclipsed by the moon." --Pink Floyd: Eclipse


"I'm going to spend eternity
reinstalling Windows." --Reinstalling Windows: by some British guy
 
All you have to do is to create a simple html page for example

<html>
<body>
<applet code=&quot;HelloWorld.class&quot; width=&quot;value of your choosing&quot; height=&quot;value of your choosing&quot;></applet>
</body>
</html>

This will work no matter what else you put on the page.
I have found that webpage editors try to add a lot of
other stuff that is not needed when embedding an applet,
so I tend to code it myself. Hope this helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top