1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
4
* Use is subject to license terms.
9
<title>Setting the Layout Manager</title>
10
<link rel="StyleSheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
14
<h2>Setting the Layout Manager</h2>
15
<p><small><a href="#seealso">See Also</a></small></p>
17
When you create a new container, it is created using the default layout
18
manager for that container type. Most containers use BorderLayout by default,
19
however some containers have their own
20
special layouts that cannot be changed. If necessary, you can change the layout
21
of most containers using the Palette window, GUI Builder, or Inspector window.</p>
23
<p><b>To set the layout manager from the GUI Builder:</b></p>
25
<li>Right-click the container whose layout you wish to change. </li>
26
<li> In the contextual menu, choose the desired layout from the Set Layout
27
submenu. <p>The IDE applies the specified layout manager to the selected container.
31
<p><b>To set the layout manager from the Inspector window:</b></p>
34
Right-click the the node for the container whose layout you wish to change.
37
<li>In the contextual menu, choose the desired layout from the Set Layout submenu.
38
<p>The IDE applies the specified layout manager to the selected container.
44
When you change layouts, the IDE remembers the properties of
45
the discarded layout manager. If you then revert back the to
46
the previous layout manager, the
47
form also returns to its prior state.
52
<dt><a name="seealso">See Also</a></dt>
53
<dd><a href="gui_layoutmanagers.html">About Layout Managers</a> </dd>
54
<dd><a href="gui_customlayout.html">Using a Custom Layout Manager</a></dd>
55
<dd><a href="gui_layoutprops.html">Setting Layout Properties</a></dd>
59
<small><a href="../../credits.html">Legal Notices</a></small>
61
<table border="0" cellpadding="50">
62
<tr><td> </td></tr>