I have not used .Net, but if I understand you correctly, the Docking layout manager is provided by BorderLayout.
A BorderLayout has 4 borders (north, south, east, west) and a center panel. A JToolBar that is set to Floatable can float or can be docked to one of the four borders of the border layout.
From what I just read about the layout of the anchor, and how it changes when the screen size changes (i.e., the percentage of space allocated to the component), the Swing equivalent is GridBagLayout . It is extremely customizable and capable, but many people have difficulty coping.
source share