FlowLayout dictates that the components follow one another without being forced into any predetermined grid. If no LayoutManager is specified, Java assumes that you want to use FlowLayout. Alternatively, the layout can be explicity set to use FlowLayout or to change the alignment of the items in a FlowLayout (see Layout Managers example).