This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
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

Why it act differently in browser and appletviewer?

 
HaoZhe Xu
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote an Applet, when I start it using appletviewer, it works, but when I open the html file using IE, nothing appears (there's not even exceptions in the Java console), it's just a gray board, and in the bottom bar it said: applet started.
why ???
 
HaoZhe Xu
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BTW, I changed the code="" in the html from only name.class to ./name.class, both does not work
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using the class name instead of the filename, i.e. code="name".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic