BoxLayout « Swing JFC « Java

1.Separating Components in a Row or Column
2.Glue spreads the components as far apart as possible.
3.Strut spreads the components apart by a fixed distance
4.Laying Out Components in a Row or Column
5.A vertical box container arranges the components top-to-bottom aligned in their preferred sizes.
6.BoxLayout puts components into a row or into a column
7.BoxLayout: set a rigid area among our components.
8.Align your components in horizontal or vertical layout