aspose file tools
The moose likes Swing / AWT / SWT and the fly likes configure cell size in GridBagLayout Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "configure cell size in GridBagLayout" Watch "configure cell size in GridBagLayout" New topic
Author

configure cell size in GridBagLayout

Tariq Ahsan
Ranch Hand

Joined: Nov 03, 2003
Posts: 116
How can I setup the cell size in GridBagLayout?
Stuart Gray
Ranch Hand

Joined: Apr 21, 2005
Posts: 410
If I understand you correctly, you need to use the gridwidth and gridheight variables, e.g: layout.gridwidth = 2;
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: configure cell size in GridBagLayout
 
Similar Threads
Component Cell Width
GridBagLayout
GridBagLayout - view grid lines
Fixed Cellsize in GridBagLayout
Laying out components in JPanel(s) and LayoutManager(s)