Introduction
Description
Description public interface LayoutManagerpublic interface LayoutManger2 extends LayoutManager
More Info
Description FlowLayout() : Creates layout of default size.FlowLayout(int align) : Creates layout of given size.FlowLayout(int align, int hgap, int vgap) : Creates layout of given alignment with horizontal and vertical gap.
Examples
Description
Examples
Description
Examples
Description
Constraints | Constraints | Description |
|---|---|
| gridx,gridy | Indicates the position of the component in the grid. |
| gridwidth, gridheight | Indicates the size of the cells. |
| weightx, weighty | Indicates the expandable container area. |
| ipadx, ipady | Specifies the padding between the borders and components. |
| fill | Functions when the component coverage area is greater than the component size. |
| anchor | Specifies the position of component when an extra room is allotted within the given space. |
| insets | Indicates the left-out space between the Components and borders. |
Examples
Description
Examples
Key Points
Programming
Tips