~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/gui_editcomponentprops.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>Editing Component Properties</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
        <h2>Editing Component Properties</h2>
 
14
        <p><small><a href="#seealso">See Also</a></small></p>
 
15
        <p>Once you have added a component to a form, you can adjust its behavior and
 
16
        appearance by editing its properties in the Properties window.</p>
 
17
        <p><b>To edit a component's properties:</b></p>
 
18
        <ol>
 
19
            <li> Select the component in the GUI Builder or Inspector window to display
 
20
            its properties in the Properties window. Note that if you select multiple
 
21
            components, their common properties are displayed and any modifications apply
 
22
            to all of the selected components. </li>
 
23
            <li>Select the property category by clicking on the appropriate button at the
 
24
            top of the Properties window. </li>
 
25
            <li>Edit the component's properties in the Properties window by selecting the
 
26
            property and entering the desired value. </li>
 
27
            <li>(Optional) If the property you want to edit
 
28
            has an ellipsis (...) button, you can click it to open a special property
 
29
            editor enabling you to modify both the property and the initialization
 
30
            code generated for it.</li>
 
31
            <li>(Optional) If you are using the property editor, use the Select Mode combo
 
32
            box to choose between available custom editors for the property,  make the
 
33
            necessary changes, and click OK.
 
34
            <p>The IDE applies the new parameter values to the selected components.
 
35
        </ol>
 
36
        <p><b>To return a property to its default value:</b></p>
 
37
        <ol>
 
38
            <li>Right-click the property name and choose Restore Default Value from the contextual 
 
39
            menu.  
 
40
            <p>The IDE returns the selected to its default value.
 
41
        </ol>
 
42
 
 
43
        <ul class="note">
 
44
            <li> You can also edit text label properties for
 
45
            common components directly in the GUI Builder. </li>
 
46
        </ul>
 
47
 
 
48
        <dl>
 
49
            <dt><a name="seealso">See Also</a></dt>
 
50
            <dd><a href="gui_events_managing.html">Managing Component Events</a> </dd>
 
51
            <dd><a href="layout_managers/gui_layoutprops.html">Setting Layout Properties</a> </dd>
 
52
            <dd><a href="gui_modifysource.html">Modifying GUI Source Code</a> </dd>
 
53
        </dl>
 
54
 
 
55
        <hr>
 
56
        <small><a href="../credits.html">Legal Notices</a></small>
 
57
        <table border="0" cellpadding="50">
 
58
            <tr>
 
59
                <td>&nbsp;</td>
 
60
            </tr>
 
61
        </table>
 
62
    </body>
 
63
</html>