Creates a new flow layout manager with the indicated alignment and the indicated horizontal and vertical gaps.
The value of the alignment argument must be one of
FlowLayout.LEFT
, FlowLayout.RIGHT
,
FlowLayout.CENTER
, FlowLayout.LEADING
,
or FlowLayout.TRAILING
.
align | the alignment value | |
hgap | the horizontal gap between components
and between the components and the
borders of the Container | |
vgap | the vertical gap between components
and between the components and the
borders of the Container |
Diagram: LayoutManager