I wrote this code sample to illustrate a problem I\'m having with my program.
I expect to be able to slide the JSplitPane\'s slider bar to the left, beyond the edge
Is there another layout manager besides FlowLayout that will do what I'm looking for?
Wrap Layout should work.
If you add this
bottomleft.setMinimumSize(new Dimension(0, 0));
before the pack() then it'll reflow. BUT, it won't re-pack the border layout, so instead of two lines you'll get one with the rest cut off. So after a resize you'll have to repack the border layout. If you omit the border layout then it'll reflow like you want.
That said, you should avoid FlowLayout like the plague. Most of the layouts that come with Swing are poor, but FlowLayout is one of the worst offenders.