Border Layout


A Border Layout enables components in a container to be arranged in five positions: Center (which expands to fill any empty space left in the other four parts of the component) and along the four sides North, West, South, and East. Components in the North and South positions automatically expand horizontally to take up the whole space, and the West and East components automatically expand vertically. The horizontal and vertical gap properties control spacing between the components.


Contents Prev Next Index