|
A layout manager is an object that is used to organize components in a container.- FlowLayout: The elements of a Flow Layout are organized in a top to bottom, left to right fashion.
-
Border Layout: The elements of a BorderLayout are organized at the borders(North, South East and West) and the center of a container.
-
Card Layout: The elements of a CardLayout are stacked, on top of the other, like a deck of cards.
-
Grid Layout: The elements of a GridLayout are of equal size and laid out using the square of a grid.
-
Grid Bag Layout: The elements of a GridBagLayout are organized according to a grid. However, the elements may be different sizes and may occupy more than one row or column of the grid. In addition, the rows and columns may have different sizes.
|