Hello,
I have a Grid Layout:
The first and last row have text areas that are large, but the middle row is a button. How can I resize the middle cell the size of the button or close to it? because as of now I have enormouse amounts of gaps.
Thanks
I have a Grid Layout:
Code:
JPanel mainpanel = new JPanel(new GridLayout(3,1,1,1));
The first and last row have text areas that are large, but the middle row is a button. How can I resize the middle cell the size of the button or close to it? because as of now I have enormouse amounts of gaps.
Thanks