Why aren\'t my components wrapping in this JPanel using FlowLayout? They simply run off screen and are only partially visible.
JPanel panel = new JPanel(new Flo
That's because FlowLayout doesn't. I know, it sucks.
FlowLayout
But, you could take a look at WrapLayout which is a solution to this problem