I'm using the GridBagLayout on a JFrame and I'd like to be able to skip a row or two but have those rows show up as blank, and then have a button after those rows. I can't find any way in the documentation to do what I described, does anyone know of any way I can do this?
Figured it out much cleaner than adding empty components... there is a GridBagConstraint named insets that allows you to choose the white-space between the component you're adding and the other components around it in any direction. Thanks for the answers though!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With