So I've applied a ComponentListener to my window's ContentPane to catch the "resize" event. Then during this event, I'm resizing/moving objects on the page to adjust for the new size.
The problem is that it seems as if the new size of the ContentPane isn't quite "caught up" at the point the resize event fires. What happens is if I make the window larger, everything seems to be fine. But if I make it shorter, one JPanel object is then too "long" by a pixel or two, and causes another JPanel object to drop to the next row.
Let me know if any code is needed.
Edit: So apparently it's worse than I thought. If I move the borders very quickly, there's a "gap" on either side of the panel components. It's as if the resize event is giving me the size that the ContentPane WAS, not what it now IS.