• 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: 42970
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".
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!