Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reisizing Controls in Java  RSS feed

 
Thomas Moore
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, this is my first time in Java Ranch.

I'm wondering if there is a way to resize controls when the GUI is resized.

In VB it's quite easy.



Thanks Tom
 
Anand Loni
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

If u r using Swings and layout of the panel is gridbaglayout then u ca resize components by giving proper constraints.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!