BorderLayout has five cells called North South East West Center and components are assigned to these cells with the add method. Unlike other add methods, here the order is not important:
|
Remember this is default for a Frame Container |
The constructor "new BorderLayout()" can have no arguments or "new BorderLayout(hgap, vgap)" can specify numbers of pixels inbetween components. |
North |
South |
W |
e |
s |
t |
E |
e |
s |
t |