I need to arrange Component One below other like Swing’s BoxLayout Y axis scenario .
I thought of using Gridlayout inside Gridlayout , but is there any better option. I have already 4 columns and inside each Column I need to add different elements Y-axis based
I need to arrange Component One below other like Swing’s BoxLayout Y axis scenario
Share
Yes, Use
RowLayout. You will find more on this here. If you don’t want wrapping of your controls (behavior of Swing’s BoxLayout) then you could useFillLayoutas it lays out equal-sized widgets in a single row or column.