Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Move location Button of Button Dynamically  RSS feed

 
vineet kumar chaudhry
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Java Lovers

I am using an applet in browser and I want user to set the size of applet

In the applet there exists a button.

Now I want that whenever user increases /decreases the size of applet,the button location should e adjusted

How would I do that?
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By using an appropriate layout manager.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!