Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

APPLET in browser...how??

 
farrukh zaheen
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
guys i am able to run my APPLET perfectly using appletviewer


But when i try to run it in my browser ...it doesnt work....i dont know why


this is my html :

<html>
<head>
<title>Car Dealership</title>
</head>
<body>
<h1>Car Dealership</h1>
<hr>
<applet code="CarTool.class" width=800 height=400>
alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason."
Your browser is completely ignoring the <APPLET> tag!
</applet>

</body>
</html>


plz help
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Applets forum.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...it doesnt work....


My car doesn't work. Can you fix it?

Oh, you need to know what doesn't work? It makes a loud clinking noise when I turn left.


Please be more specific about your problem.
[ July 03, 2004: Message edited by: Gregg Bolinger ]
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have the java plug–in installed and enabled in you browser? This sounds like your applet is being run by a browser vm which are often antique versions of java.
 
Abed Rabie
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friend,

Did your java class is extends Frame or JFrame.
If it extends JFrame I htink you should use the object tag not the applet tag.

Best regards

Aabed
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic