Problem with GridLayout arrangement.
I have a frame with 2 panels.
1 panel contain 9 buttons on half size of the frame.
At the second panel i want to create a button named clear.
When i add the clear button the frame split the panels for 2 equals parts.
I want the first panel will be bigger than the second panel (cleear button).
I arranged the frame arrangement with "GridLayout" of 3 lines and 3 columns.
How can i play with the GridLayout sizes?
Re: Problem with GridLayout arrangement.
Define GridLayout sizes...do you mean the grid cell width/height? Use GridBagLayout and adjust the width/height of the GridBagConstraints...or use different layouts within nested JPanels