Another layout manager is the BorderLayout. The BorderLayout is the default scheme for Frame objects.
Objects can lie in the coordinate areas north, south, east, west and center.
Often a Panel which holds components will be paced in one of these zones. If you do not specify a cardinal directive a component added to a BorderLayout will default to the center. Notice that when adding the Button objects to the Panel they are using the default layout manager for the Panel, FlowLayout. We placed the Button components into a Panel container because we can then simply place the container in the north section. If you resize the application to be a bit wider the fourth Button will come into view.