posted 5 years ago
So, the first list is what my frame looks like when creating with all the layout managers. It is a Box Layout y axis, with a nested Box Layout x Axis, with 2 nested GridBag Layouts at the ends and a nested Grid Layout in the center.
The frame packs just fine, until added the JLists to the scroll panes. As soon as I add them, it looks like the 2nd picture.
The copy and pasted code will execute in Eclipse and possibly other IDEs.
If you take out the setViewPortView, it will look exactly like picture 1.
Cabin-JLists.png
Cabin-JLists-Screwed-Up.png