Layouts are used whenever you want your components to not just be displayed next to each other. The GridBagLayout is a useful one, as it divides your window into rows and columns, and you decide which row and column to put components into, as well as how many rows and colums big the component is.
L...