[Solved] layout with one columns, and increasing row number in java [closed]


You can use BoxLayout and set its second parameter as BoxLayout.Y_AXIS to use FlowLayout in “vertical mode”

Like this:

panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));

Does that answer your question?

2

solved layout with one columns, and increasing row number in java [closed]