Swing GridBagLayout with screen resizing
问题 For my Java Swing GUI I have two major components: One part is a vertical list of a few check boxes, the other is an image. When the jframe window is resized/maximised the proportions stay the same when I would much rather the absolute size of the check box list stay the same and just the image resize like: Is this possible using GridBagLayout? I have been laying everthing out into one JPanel ( ContentPane ) using the following: CheckBoxes: for(int i=0; i<5; i++){ GridBagConstraints gbc = new