Setting the Layout Manager
See Also
When you create a new container, it is created using the default layout
manager for that container type. Most containers use BorderLayout by default,
however some containers have their own
special layouts that cannot be changed. If necessary, you can change the layout
of most containers using the Palette window, GUI Builder, or Inspector window.
To set the layout manager from the GUI Builder:
- Right-click the container whose layout you wish to change.
- In the contextual menu, choose the desired layout from the Set Layout
submenu.
The IDE applies the specified layout manager to the selected container.
To set the layout manager from the Inspector window:
-
Right-click the the node for the container whose layout you wish to change.
- In the contextual menu, choose the desired layout from the Set Layout submenu.
The IDE applies the specified layout manager to the selected container.
-
When you change layouts, the IDE remembers the properties of
the discarded layout manager. If you then revert back the to
the previous layout manager, the
form also returns to its prior state.
- See Also
- About Layout Managers
- Using a Custom Layout Manager
- Setting Layout Properties
Legal Notices