BorderLayout layout manager arranges a container's components in one of five areas within a BorderLayout, based on the
constraints property of the component: North, South, East, West, and Center.
After you drop the detail order items panel on the client form, make sure the panel component's constraints property value is Center. To verify this, in the Structure window, select orderItemsPanel1, then go to the Constraints property editor by clicking the Constraints tab.
In the Constraints property visual editor, make sure the center box is selected. If the center box is not selected, select it to change the
constraints property value for
Note: The Constraints property visual editor is located next to the Property Inspector by default. If the Constraints property visual editor is not already open, choose View Java Constraints .
Copyright © 1997, 2009, Oracle. All rights reserved.