~ubuntu-branches/ubuntu/quantal/netbeans/quantal

« back to all changes in this revision

Viewing changes to java/helpset/javahelp/org/netbeans/modules/java/helpset/docs/gui/layout_managers/gui_settinglayout.html

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
ImportĀ upstreamĀ versionĀ 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<!--       
 
3
 *     Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
 
4
 *     Use is subject to license terms.
 
5
 *
 
6
-->
 
7
<html>
 
8
    <head>
 
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">
 
11
    </head>
 
12
    <body>
 
13
 
 
14
        <h2>Setting the Layout Manager</h2>
 
15
        <p><small><a href="#seealso">See Also</a></small></p>
 
16
        <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>
 
22
 
 
23
        <p><b>To set the layout manager from the GUI Builder:</b></p>
 
24
        <ol>
 
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.
 
28
            </li>
 
29
        </ol>
 
30
 
 
31
        <p><b>To set the layout  manager from the Inspector window:</b></p>
 
32
        <ol>
 
33
            <li>
 
34
                Right-click the the node for the container whose layout you wish to change.
 
35
            </li>
 
36
 
 
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.
 
39
            </li>
 
40
        </ol>
 
41
 
 
42
        <ul class="note">
 
43
            <li>
 
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.
 
48
            </li>
 
49
        </ul>
 
50
 
 
51
        <dl>
 
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>
 
56
        </dl>
 
57
 
 
58
        <hr>
 
59
        <small><a href="../../credits.html">Legal Notices</a></small>
 
60
 
 
61
        <table border="0" cellpadding="50">
 
62
            <tr><td>&nbsp;</td></tr>
 
63
        </table>
 
64
    </body>
 
65
</html>