I am trying to make a GUI with the GUIDesigner but I find the Layout options
very restrictive. In the attached image I have a column of JComboBox
components and a column of JButton components. I want the buttons to be
right next to the comboboxes but when I apply one of the GridLayout options
the components are automatically stretched to fit the panel. How can I stop
this happening so that components can be directly next to eachother despite
the width of the panel they sit in?