20. BorderLayout
Alignment
AFTER_LAST_LINE, PAGE_END, SOUTH
AFTER_LINE_ENDS, LINE_END, EAST
BEFORE_FIRST_LINE, PAGE_START, NORTH
BEFORE_LINE_BEGINS, LINE_START, WEST
CENTER
21. BorderLayout
Constructor
public BorderLayout()
public BorderLayout(int hgap, int vgap)
22. BorderLayout
Adv.
Can specify direction
Dis.
Only five locations to add components
No high complexity
30. CardLayout
Adv.
Containers and their associated components to share the
same space in the container
Dis.
Not visually appealing as a Tabbed pane
Requires other components like buttons or drop-down to flip
through