A few question about FlowLayout
FlowLayout is easy to use and useful enough, but sometimes I want two things to remain associated with each other, like a label and a text field, and not split apart at the edge. I make a sub-panel, add the label and the text field to that, then add the sub-panel to my super-panel, and that seems to work fine. But is there an easier or better way?
On the other hand, sometimes I want an item to appear on the next line, even if there's room for it on the line above. For that, I play tricks with a sub-panel with a BorderLayout or GridLayout or something. But it would be really nice if there was a "NewLine" object that tells FlowLayout to start a new line. Is there such a thing?
Actually, it would be nice if FlowLayout had tab stops, too. It would be easy to line up buttons and fields without having to muck around with a GridBag or a bunch of sub-panels.