BorderLayout.BorderLayout

BorderLayout.BorderLayout

Class Overview | Class Members | This Package | All Packages

Syntax 1
public BorderLayout()
Description
Constructs a new border layout with no gaps between components.



Syntax 2
public BorderLayout( int hgap, int vgap )
Parameters
hgap
the horizontal gap.
vgap
the vertical gap.
Description
Constructs a border layout with the specified gaps between components. The horizontal gap is specified by hgap and the vertical gap is specified by vgap.