Doesn't Camickr's WrapLayout do exactly what you want?
Type: Posts; User: KevinWorkman
Doesn't Camickr's WrapLayout do exactly what you want?
Interesting. Upon doing some more research, it turns out that the problem is with your FlowLayout. BorderLayout respect's the TOP component's preferred size, however, FlowLayout doesn't set its...
Why doesn't the top panel grow using BorderLayout? Can you show us an SSCCE?
BorderLayout seems reasonable, or BoxLayout maybe mixed with a JSplitPane in the center.