A Layout manager controls how components are postitioned on the screen; when an component is added, it is placed according to the algorithm used by the layout manager.
None of these are particularly beautiful. There are others (you can look at the online documentation and the tutorial).
The proper way to use layouts is one inside another, using panels, like the BetterGUI example