Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet not showing up in the browser

 
Sam Dej
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there, I'm a newbie of Java and I'm making an Applet with Eclipse..
I did a test Applet, which just loads up and shows a button.. All fine in Eclipse..
But, when I export to jar the class, and then try to load it in the browser it doesn't show up!..
Please heelp..

I post the class here


And the html code


Thanks in advance,
Sam
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The applet tag is missing a height attribute.
 
Sam Dej
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well, that's embarrassing... XD
thanks Ulf..
 
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!