Hello,
I am using the expandable/collapseble panel method found in this post:
https://coderanch.com/t/341737/GUI/java/Expand-Collapse-Panels
This works wonderfully; however, there is too much blank space at the bottom of the panel that I do not care for and only want the panel to resize enough to hold the expanded items and reduces as items are collapsed. I've tried different combination of Gridbaglayout constraints, but none seems to work properly. I will continue to try other ways... but thought maybe someone out there might know of a clever
Java built-in way to do this.
Thank you in advance for your help.