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>Editing Component Properties</title>
10
<link rel="StyleSheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
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>
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.
36
<p><b>To return a property to its default value:</b></p>
38
<li>Right-click the property name and choose Restore Default Value from the contextual
40
<p>The IDE returns the selected to its default value.
44
<li> You can also edit text label properties for
45
common components directly in the GUI Builder. </li>
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>
56
<small><a href="../credits.html">Legal Notices</a></small>
57
<table border="0" cellpadding="50">