The FlowLayout is the default layout manager for the Panel class. The FlowLayout with Center justification is used by default. There are FlowLayout.CENTER, FlowLayout.LEFT and FlowLayout.RIGHT justifications. FlowLayout places components next to each other into one line. When the components fill the width of a container, FlowLayout will start a new row. Fields in the FlowLayout keep their sizes (not grow) when user stretches the window.