Documentation
FlowLayout
The flow layout manager arranges components in a row from left to right, starting a new row if no more components fit into a row. Flow layouts are typically used to arrange buttons in a panel.

FlowLayout is part of the standard Java distribution.
Layout properties¶
A container with this layout manager has following layout properties:
| Property Name | Description |
|---|---|
| alignment | The alignment of the layout. Possible values: LEFT, RIGHT, LEADING and TRAILING. Default is CENTER. |
| horizontal gap | The horizontal gap between components and between the component and the border of the container. Default is 5. |
| vertical gap | The vertical gap between components and between the component and the border of the container. Default is 5. |
| align on baseline (Java 6) | Specifies whether components are vertically aligned along their baseline. Components that do not have a baseline are centered. Default is false. |
