default layout manager for jframe
BorderLayout is a simple layout manager that can be handy in certain layouts. It is a default layout manager for JFrame, JWindow, JDialog, JInternalFrame, and JApplet. It has a serious limitiation â it sets the gaps between its children in pixels, thus creating rigid layouts.