This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
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

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!