Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet is not sowing the correct size  RSS feed

 
cftang2001
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All:
I have trying to call one of my applet from my main applet's drow down button.
However, it can't pop up the correct size. But if I manualy use the mouse to drag and enlarge the applet. It will then eventually
become the correct size. I guess I maybe need to passing a parameter from one applet to another appler...but this is just my guessing...Can anyone please give me a hand.
Thanks a lot
 
maateen ashraf
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
specify size of ur applet in html file
in applet tag.
i think it may help u.
 
Dave Turner
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cftang2001,
I am a little confused, as it isnt possible to resize an applet in a browser window. Do you mean that you are opening a new Browser window to contain the other applet, and the Browser window opens up too small, or do you mean you are creating a Frame or Dialog in your main applet, and this window is not opening up with the right dimensions.
Dave
 
Stephanie Grasson
Ranch Hand
Posts: 347
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to re-register with a proper name. "cftang2001" does not follow the conventions. For more information, see here:
http://www.javaranch.com/name.jsp

Thanks for your cooperation.
Stephanie
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!