north

Places the child across the top of the panel, at the height it prefers and the panel's full width (BorderLayout.NORTH).

See also