GridBagConstraints.fill
Class Overview | Class Members |
This Package |
All Packages
Syntax
public int fill
Description
This field is used when the component's display area is larger
than the component's requested size. It determines whether to
resize the component, and if so, how.
The following values are valid for fill:
-
NONE: Do not resize the component.
-
HORIZONTAL: Make the component wide enough to fill
its display area horizontally, but do not change its height.
-
VERTICAL: Make the component tall enough to fill its
display area vertically, but do not change its width.
-
BOTH: Make the component fill its display area
entirely.
The default value is NONE.