Usually a mix of all three.
FlowLayout for the layout manager.
It puts components into the content pane in the order they are
Now the GUI components need to be added to the frame in the correct order.
(Caution: this is not necessarily the same order in which they are declared.)
To put a label to the left of a component, first add the label, then add the component. But if the frame is too small, the component might be placed in the next row! There are better ways to do this which will be discussed later.