• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet sizing problem

 
Peter Phung
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everyone,
I've written an applet but it is appearing larger than the display area. I havn't written any code which sizes the applet. can anyone tell me what i'm doing wrong?
My code :

This is the only code i have, no other parts of the GUI have been written.
 
Marilyn de Queiroz
Sheriff
Posts: 9061
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you make your lines of code shorter than 120 characters per line.

You have height and width parameters in your html page that calls the applet, right?

applet code=xxx height=xxx width=xxx
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic