0N/A<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
0N/A<html>
0N/A<head>
0N/A<!--
2362N/ACopyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
0N/ADO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A
0N/AThis code is free software; you can redistribute it and/or modify it
0N/Aunder the terms of the GNU General Public License version 2 only, as
2362N/Apublished by the Free Software Foundation. Oracle designates this
0N/Aparticular file as subject to the "Classpath" exception as provided
2362N/Aby Oracle in the LICENSE file that accompanied this code.
0N/A
0N/AThis code is distributed in the hope that it will be useful, but WITHOUT
0N/AANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/AFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/Aversion 2 for more details (a copy is included in the LICENSE file that
0N/Aaccompanied this code).
0N/A
0N/AYou should have received a copy of the GNU General Public License version
0N/A2 along with this work; if not, write to the Free Software Foundation,
0N/AInc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A
2365N/APlease contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2365N/Aor visit www.oracle.com if you need additional information or have any
2365N/Aquestions.
0N/A
0N/A-->
0N/A</head>
0N/A<body bgcolor="white">
0N/A<h3>Component Specific Properties</h3>
0N/A<p> The look, and to some degree the feel of Synth
0N/Acan be customized by way of component specific properties.
0N/AThese properties are accessed from <a
0N/A href="/SynthStyle.html">SynthStyle#get</a>. Refer to <a href="synthFileFormat.html#e.property">synth file format</a> for examples of how to specify these properties in a synth configuration file.</p>
0N/A <p>
0N/A This file specifies the expected class type each of the values
0N/A are to take. The behavior of supplying the wrong type is
0N/A unspecified: typically a <code>ClassCastException</code> is
0N/A thrown, but it is implementation specific.
0N/A </p>
0N/A<h4>ArrowButton</h4>
0N/A<p> ArrowButton is a special type of JButton that renders an arrow.
0N/AArrowButton is typically not created directly, rather some of the
0N/AComponents will create it to render a button with an arrow. The
0N/A components that make use of ArrowButton are:
0N/AJComboBox, JScrollBar and JSplitPane (for the buttons on the divider).
0N/AIn addition to the <a
0N/A href="#buttonProperties">Button properties</a>, ArrowButton supports
0N/Athe following propeties: </p>
0N/A<h5>ArrowButton Specific Properties</h5>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>ArrowButton.size</td>
0N/A <td>Integer</td>
0N/A <td>16 </td>
0N/A <td>Preferred size of the arrow button. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JButton">JButton</a></h4>
0N/A<p> JButton paints text using the TEXT_FOREGROUND ColorType. In addition
0N/Ato the <a href="#buttonProperties">Button properties</a>, JButton
0N/Asupports the following property: </p>
0N/A<h5>JButton Specific Properties</h5>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>Button.defaultButtonFollowsFocus</td>
0N/A <td>Boolean</td>
0N/A <td>true </td>
0N/A <td>Whether or not the default JButton should change to the
0N/Abutton that is receiving focus. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JCheckBox">JCheckBox</a></h4>
0N/A<p> JCheckBox paints text using the TEXT_FOREGROUND ColorType. In
0N/Aaddition to the <a href="#buttonProperties">Button properties</a>,
0N/AJCheckBox supports the following property: </p>
0N/A<h5>JCheckBox Specific Properties</h5>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>CheckBox.icon</td>
0N/A <td>Icon</td>
0N/A <td>null </td>
0N/A <td>Icon used to render the check. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JComboBox">JComboBox</a></h4>
0N/A<p> JComboBox is a composite component that consists of the following
0N/Achild Components: </p>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Name</th>
0N/A <th>Type</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>ComboBox.arrowButton</td>
0N/A <td>SynthArrowButton </td>
0N/A <td>Renders the drop down indicator. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>ComboBox.list</td>
0N/A <td>JList </td>
0N/A <td>JList used to render the values. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>ComboBox.listRenderer</td>
0N/A <td>Component </td>
0N/A <td>The renderer used for the JComboBox's JList. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>ComboBox.popup</td>
0N/A <td>JPopupMenu </td>
0N/A <td>JPopupMenu used to show the ComboBox.list of the JComboBox. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>ComboBox.renderer</td>
0N/A <td>Component </td>
0N/A <td>The renderer used for the JComboBox. This is ONLY set if
0N/Athe renderer is a UIResource. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>ComboBox.scrollPane</td>
0N/A <td>JScrollPane </td>
0N/A <td>JScrollPane containing the JList. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>ComboBox.textField</td>
0N/A <td>JTextField </td>
0N/A <td>The editor. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<p> </p>
0N/A<h5>JComboBox Specific Properties</h5>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>ComboBox.showPopupOnNavigation</td>
0N/A <td>Boolean</td>
0N/A <td>false </td>
0N/A <td>Whether or not the JPopupMenu should appear when navigating
0N/Awith the keyboard. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4>JFileChooser</h4>
0N/A<h5>JFileChooser Specific Properties</h5>
0N/A<table cellpadding="2" cellspacing="2" border="1"
0N/A style="width: 100%; text-align: left;">
0N/A <tbody>
0N/A <tr>
0N/A <th style="vertical-align: top; text-align: center;">Property</th>
0N/A <th style="vertical-align: top; text-align: center;">Expected Type<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Default Value<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Description</th>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">FileChooser.cancelIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon displayed on cancel button
0N/Aof the file chooser.<br>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">FileChooser.okIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon displayed on the ok button
0N/Aof the file chooser.<br>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">FileView.directoryIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon used for directories.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">FileView.fileIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon used for files.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">FileView.computerIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon used for directories that
0N/A represent the computer. Not all platforms will make use
0N/A of this icon.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">FileView.hardDriveIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon used to represent the root
0N/A of a hard drive. For example, on Windows this would be
0N/A used when viewing the C drive.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">FileView.floppyDriveIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon used to represent a floppy
0N/A disk.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">FileChooser.newFolderIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon used by the button that creates a new
0N/A folder.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">FileChooser.upFolderIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon used by the button that navigates to the
0N/A parent folder.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">FileChooser.homeFolderIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon used by the button that navigates to the
0N/A current user's home directory.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">FileChooser.detailsViewIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon used by the button that toggles the
0N/A detailed files list view.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">FileChooser.listViewIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon used by the button that toggles the
0N/A regular files list view, showing only an icon and the name of each
0N/A file and directory.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">FileChooser.viewMenuIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon used by the button that shows popup menu
0N/A for selection of a view mode.
0N/A </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JInternalFrame"></a>JInternalFrame</h4>
0N/A<h5>JInternalFrame Specific Properties</h5>
0N/A<table cellpadding="2" cellspacing="2" border="1"
0N/A style="text-align: left; width: 100%;">
0N/A <tbody>
0N/A <tr>
0N/A <th style="vertical-align: top; text-align: center;">Property<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Expected Type<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">DefaultValue<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Description<br>
0N/A </th>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">InternalFrame.icon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon</td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon drawn representing the
0N/Asystem<br>
0N/Aicon of the internal frame.&nbsp; If pressed<br>
0N/Athe system menu will be shown.<br>
0N/A </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JInternalFrameTitlePane"></a>JInternalFrameTitlePane</h4>
0N/A<p>JInternalFrameTitlePane is the control bar located at the top of the
0N/Ainternal frame similar to that found in a frame.<br>
0N/A</p>
0N/A<h5>JInternalFrameTitlePane Specific Properties</h5>
0N/A<table cellpadding="2" cellspacing="2" border="1"
0N/A style="text-align: left; width: 100%;">
0N/A <tbody>
0N/A <tr>
0N/A <th style="vertical-align: top; text-align: center;">Property<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Expected Type<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Default Value<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Description<br>
0N/A </th>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">InternalFrameTitlePane.maximizeIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon</td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon drawn to indicate the
0N/Aability to maximize the internal frame.<br>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">InternalFrameTitlePane.minimizeIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon</td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon drawn to indicate the
0N/Aability to restore the internal frame back to its previous state.<br>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">InternalFrameTitlePane.iconifyIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon</td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon drawn to indicate the
0N/Aability to minimize the internal frame.<br>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">InternalFrameTitlePane.closeIcon<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon</td>
0N/A <td style="vertical-align: top;">null<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Icon drawn to indicate the
0N/Aabililty to close the internal frame.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">InternalFrameTitlePane.titleSpacing<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Integer</td>
0N/A <td style="vertical-align: top;">2</td>
0N/A <td style="vertical-align: top;">Space between the
0N/A buttons on the title pane and the title.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">InternalFrameTitlePane.buttonSpacing<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Integer</td>
0N/A <td style="vertical-align: top;">2</td>
0N/A <td style="vertical-align: top;">Space between the buttons on
0N/A the title pane.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">InternalFrameTitlePane.maxFrameIconSize<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Dimension</td>
0N/A <td style="vertical-align: top;">16x16</td>
0N/A <td style="vertical-align: top;">Maximum size of the frame
0N/A icon that will be rendered on the title pane. If the icon
0N/A is bigger than this size, it will be scaled down.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">InternalFrameTitlePane.titleAlignment<br>
0N/A </td>
0N/A <td style="vertical-align: top;">leading|trailing|center</td>
0N/A <td style="vertical-align: top;">leading</td>
0N/A <td style="vertical-align: top;">Alignment for the title.
0N/A With a left to right component orientation leading is left
0N/A and trailing right. With a right to left component
0N/A orientation leading is right and trailing left.
0N/A </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JList">JList</a></h4>
0N/A<p> JList's sets the name of the renderer to List.renderer. JList
0N/Asupports the following properties: </p>
0N/A<h5>JList Specific Properties</h5>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>List.rendererUseListColors</td>
0N/A <td>Boolean</td>
0N/A <td>true </td>
0N/A <td>If true the renderers state is not updated, and the text
0N/Acolors come from JList's getSelectionBackground and
0N/AgetSelectionForeground methods. If false, the renderer's state is
0N/Aupdated and the colors will instead come from the Style. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>List.rendererUseUIBorder</td>
0N/A <td>Boolean</td>
0N/A <td>true </td>
0N/A <td>If true setBorder on the renderer will succeed regardless
0N/Aof the border passed in, otherwise setBorder on the renderer will
0N/Aonly succeed if it is a Synth Border. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>List.cellHeight</td>
0N/A <td>Integer</td>
0N/A <td>-1 </td>
0N/A <td>Cell height of the JList. Is this is -1, <code>setFixedCellHeight</code>
0N/Ais not invoked. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="menuProperties">Menu Properties</a></h4>
0N/A<p> The Menu classes (JCheckBoxMenuItem, JMenu, JMenuItem, and
0N/AJRadioButtonMenuItem) all support the same set of properties and behave
0N/Asimilarly. Each component consists of two Regions: the region
0N/Aspecific to the component and Region.MENU_ITEM_ACCELERATOR.
0N/AMENU_ITEM_ACCELERATOR is used for painting the accelerator. Both Regions
0N/Apaint text using the TEXT_FOREGROUND ColorType. The following set of
0N/Aproperties are supported: </p>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>prefix.acceleratorDelimiter</td>
0N/A <td>String</td>
0N/A <td>+ </td>
0N/A <td>String separator between the description of the modifiers
0N/Aand the key, for example <code>Ctrl &lt;acceleratorDelimiter&gt; X</code>.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td>prefix.arrowIcon</td>
0N/A <td>Icon</td>
0N/A <td>null </td>
0N/A <td>Icon drawn to the right of the text (or left when the
0N/AComponentOrientation is right to left) of the text. This is
0N/Atypically only defined for JMenu. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>prefix.checkIcon</td>
0N/A <td>Icon</td>
0N/A <td>null </td>
0N/A <td>Icon drawn to the left of the text (or right when the
0N/AComponentOrientation is right to left) of the text. This is
0N/Atypically only defined for JCheckBoxMenuItem and JRadioButtonMenuItem
0N/Ato provide the check or radio button. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>prefix.margin</td>
0N/A <td>Insets</td>
0N/A <td>Empty Insets (0, 0, 0, 0) </td>
0N/A <td>Margin for the JMenuItem. Refer to the javadoc of
0N/A <code>javax.swing.AbstractButton#setMargin(java.awt.Insets)</code> for details
0N/Aof how the margin is used. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>prefix.textIconGap</td>
0N/A <td>Integer</td>
0N/A <td>4 </td>
0N/A <td>Padding between the icon and text. Refer to the javadoc for
0N/A<code>javax.swing.AbstractButton#setIconTextGap(int)</code> for details of how
0N/Athis is used. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<p> <code>Prefix</code> is one of: CheckBoxMenuItem, Menu, MenuItem, or
0N/ARadioButtonMenuItem. </p>
0N/A<p> JMenu also supports the following properties: </p>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>Menu.delay</td>
0N/A <td>Integer</td>
0N/A <td>200 </td>
0N/A <td>Sets the delay before the menu appears. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>Menu.shortcutKeys</td>
0N/A <td>int[]</td>
0N/A <td>KeyEvent.ALT_MASK </td>
0N/A <td>Array of the KeyEvent modifiers to use for shortcut keys. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JOptionPane">JOptionPane</a></h4>
0N/A<p> JOptionPane is a composite component and may consist of numerous child
0N/Acomponents, they are: OptionPane.button, OptionPane.label,
0N/AOptionPane.comboBox, OptionPane.scrollPane, OptionPane.list,
0N/AOptionPane.textField, OptionPane.iconLabel. </p>
0N/A<h5>JOptionPane Specific Properties</h5>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>OptionPane.buttonAreaBorder</td>
0N/A <td>Border </td>
0N/A <td>null </td>
0N/A <td>Border around the button area. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.buttonClickThreshhold</td>
0N/A <td>Integer </td>
0N/A <td>0 </td>
0N/A <td>Passed to the created buttons setMultiClickThreshhold. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.buttonOrientation</td>
0N/A <td>Integer </td>
0N/A <td>SwingConstants.CENTER </td>
0N/A <td>How the buttons should be layed out, one of
0N/ASwingConstants.LEFT, SwingConstants.RIGHT or SwingConstants.CENTER
0N/A(this will be flipped when in a right to left locale). </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.buttonPadding</td>
0N/A <td>Integer </td>
0N/A <td>6 </td>
0N/A <td>Amount of space between buttons. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.cancelIcon</td>
0N/A <td>Icon </td>
0N/A <td>null </td>
0N/A <td>Icon for the cancel button. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.errorIcon</td>
0N/A <td>Icon </td>
0N/A <td>null </td>
0N/A <td>Icon used for ERROR_MESSAGE. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.informationIcon</td>
0N/A <td>Icon </td>
0N/A <td>null </td>
0N/A <td>Icon used for INFORMATION_MESSAGE. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.isYesLast</td>
0N/A <td>Boolean </td>
0N/A <td>false </td>
0N/A <td>If true the 'yes' button leads other buttons, otherwise
0N/Ait follows the other buttons. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.questionIcon</td>
0N/A <td>Icon </td>
0N/A <td>null </td>
0N/A <td>Icon used for error QUESTION_MESSAGE. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.minimumSize</td>
0N/A <td>Dimension </td>
0N/A <td>262x90</td>
0N/A <td>Minimum size for the JOptionPane. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.noIcon</td>
0N/A <td>Icon </td>
0N/A <td>null </td>
0N/A <td>Icon for the no button. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.okIcon</td>
0N/A <td>Icon </td>
0N/A <td>null </td>
0N/A <td>Icon for the ok button. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.sameSizeButtons</td>
0N/A <td>Boolean </td>
0N/A <td>true </td>
0N/A <td>Whether or not all the buttons should be the same size. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.separatorPadding</td>
0N/A <td>Integer </td>
0N/A <td>6</td>
0N/A <td>Amount of padding between the message area and separator. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.yesIcon</td>
0N/A <td>Icon </td>
0N/A <td>null </td>
0N/A <td>Icon for the yes button. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>OptionPane.warningIcon</td>
0N/A <td>Icon </td>
0N/A <td>null </td>
0N/A <td>Icon used for error WARNING_MESSAGE </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JProgressBar"></a>JProgressBar<br>
0N/A</h4>
0N/A<h5>JProgressBar Specific Properties<br>
0N/A</h5>
0N/A<table cellpadding="2" cellspacing="2" border="1"
0N/A style="text-align: left; width: 100%;">
0N/A <tbody>
0N/A <tr>
0N/A <th style="vertical-align: top; text-align: center;">Property</th>
0N/A <th style="vertical-align: top; text-align: center;">Expected Type<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Default Value<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Description</th>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">ProgressBar.repaintInterval<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Integer<br>
0N/A </td>
0N/A <td style="vertical-align: top;">50<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Number of milliseconds between
0N/Arepaints for indeterminate progress bars.<br>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">ProgressBar.cycleTime<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Integer<br>
0N/A </td>
0N/A <td style="vertical-align: top;">3000<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Number of milliseconds used to
0N/Adetermine how far to move<br>
0N/Athe bouncing box per frame when the progress bar is indeterminate.<br>
0N/A </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<h4><a name="JRadioButton">JRadioButton</a></h4>
0N/A<p> JRadioButton paints text using the TEXT_FOREGROUND ColorType. In
0N/Aaddition to the <a href="#buttonProperties">Button properties</a>,
0N/AJRadioButton supports the following property: </p>
0N/A<h5>JRadioButton Specific Properties</h5>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>RadioButton.icon</td>
0N/A <td>Icon</td>
0N/A <td>null </td>
0N/A <td>Icon used to render the radio indicator. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JScrollBar">JScrollBar</a></h4>
0N/A<p> JScrollBar is a composite component that consists of the following
0N/Achild Components: </p>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Name</th>
0N/A <th>Type</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>ScrollBar.button</td>
0N/A <td>SynthArrowButton </td>
0N/A <td>Identifies the increment/decrement buttons. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<p> </p>
0N/A<h5>JScrollBar Specific Properties</h5>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>ScrollBar.allowsAbsolutePositioning</td>
0N/A <td>Boolean </td>
0N/A <td>false</td>
0N/A <td>If true, middle mouse click in the track will set the
0N/Aposition of the track to where the mouse is. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>ScrollBar.maximumThumbSize</td>
0N/A <td>Dimension</td>
0N/A <td>4096x4096 </td>
0N/A <td>Maximum thumb size. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>ScrollBar.minimumThumbSize</td>
0N/A <td>Dimension</td>
0N/A <td>Derived from ScrollBar.thumbHeight</td>
0N/A <td>The minimum thumb size. If this is not specified the
0N/A minimum thumb size is ScrollBar.thumbHeight plus the insets
0N/A of the scrollbar along the opposite axis of the scrollbar
0N/A and 7 along the other axis. For example, if you have not
0N/A specified Insets for a scrollbar, and the orientation of
0N/A the scrollbar is vertical, than the minimum thumb
0N/A size width is ScrollBar.thumbHeight with a height of 7.</td>
0N/A </tr>
0N/A <tr>
0N/A <td>ScrollBar.squareButtons</td>
0N/A <td>Boolean </td>
0N/A <td>false</td>
0N/A <td>If true, the width and height of the scrollbar buttons
0N/Awill be made equal. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>ScrollBar.thumbHeight</td>
0N/A <td>Integer</td>
0N/A <td>14 </td>
0N/A <td>The preferred height, when the orientation of the
0N/A scrollbar is horizontal, or preferred width when the
0N/A orientation of the scrollbar is vertical.</td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="Separator">Separators</a></h4>
0N/A<p> All of the separator classes, JSeparator, JPopupMenu.Separator and
0N/AJToolBar.Separator use the same property: </p>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>Separator.thickness</td>
0N/A <td>Integer</td>
0N/A <td>2 </td>
0N/A <td>Preferred width, for vertically aligned separators, or
0N/Apreferred height for horizontally aligned separators. The resulting
0N/Apreferred size will include the Insets. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<p> JToolBar.Separator also supports the following property: </p>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>ToolBar.separatorSize</td>
0N/A <td>Dimension</td>
0N/A <td>null </td>
0N/A <td>The value of this is passed to the <code>javax.swing.JToolBar$Separator#setSeparatorSize(java.awt.Dimension)</code>
0N/Amethod. If unspecified <code>setSeparatorSize</code> is not
0N/Ainvoked. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JScrollPane">JScrollPane</a></h4>
0N/A<p>
0N/A JScrollPane is unique in that it provides a method for setting
0N/A the Border around the JViewport with JViewport throwing an
0N/A IllegalArgumentException from <code>setBorder</code>. To
0N/A accomodate this a special border is installed on the
0N/A <code>JScrollPane</code> that uses the
0N/A insets from the key
0N/A <code>ScrollPane.viewportBorderInsets</code>. The
0N/A <code>SynthPainter</code> method
0N/A <code>paintViewportBorder</code> is called to paint the
0N/A <code>Viewport</code>s border.
0N/A </p>
0N/A<h5>JScrollPane Specific Properties</h5>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>ScrollPane.viewportBorderInsets</td>
0N/A <td>Insets</td>
0N/A <td>null </td>
0N/A <td>Insets for the viewport Border. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JSplitPane">JSplitPane</a></h4>
0N/A<p> JSplitPane is a composite component that will contain a divider and
0N/Apotentially two buttons, if setOneTouchExpandable(true) has been
0N/Ainvoked. The two buttons will be named:
0N/ASplitPaneDivider.leftOneTouchButton and
0N/ASplitPaneDivider.rightOneTouchButton. </p>
0N/A<h5>JSplitPane Specific Properties</h5>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>SplitPane.centerOneTouchButtons</td>
0N/A <td>Boolean</td>
0N/A <td>true </td>
0N/A <td>If true, the one touch buttons are centered on the divider. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>SplitPane.oneTouchButtonOffset</td>
0N/A <td>Integer</td>
0N/A <td>2 </td>
0N/A <td>Distance between the one touch buttons. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>SplitPane.oneTouchButtonSize</td>
0N/A <td>Integer</td>
0N/A <td>6 </td>
0N/A <td>Size to make the one touch buttons. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>SplitPane.oneTouchExpandable</td>
0N/A <td>Boolean</td>
0N/A <td>null </td>
0N/A <td>If non null, the value of this is passed to
0N/AsetOneTouchExpandable. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>SplitPane.size</td>
0N/A <td>Integer</td>
0N/A <td>6 </td>
0N/A <td>Size of the divider </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JSlider"></a>JSlider</h4>
0N/A<h5>JSlider Specific Properties</h5>
0N/A<table cellpadding="2" cellspacing="2" border="1"
0N/A style="text-align: left; width: 100%;">
0N/A <tbody>
0N/A <tr>
0N/A <th style="vertical-align: top; text-align: center;">Property<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Expected Type<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Default Value<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Description<br>
0N/A </th>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">Slider.thumbWidth<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Integer<br>
0N/A </td>
0N/A <td style="vertical-align: top;">30<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Width of the slider thumb<br>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">Slider.thumbHeight<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Integer<br>
0N/A </td>
0N/A <td style="vertical-align: top;">14<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Height of the slider thumb<br>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">Slider.trackBorder<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Integer<br>
0N/A </td>
0N/A <td style="vertical-align: top;">1<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Width of the track border<br>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">Slider.paintValue<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Boolean<br>
0N/A </td>
0N/A <td style="vertical-align: top;">true<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Whether or not to paint the
0N/Acurrent value<br>
0N/Aof the slider.<br>
0N/A </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JTabbedPane"></a>JTabbedPane</h4>
0N/A<h5>JTabbedPane Specific Properties</h5>
0N/A<table cellpadding="2" cellspacing="2" border="1"
0N/A style="text-align: left; width: 100%;">
0N/A <tbody>
0N/A <tr>
0N/A <th style="vertical-align: top; text-align: center;">Property</th>
0N/A <th style="vertical-align: top; text-align: center;">Expected Type<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Default Value<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Description</th>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">TabbedPane.tabRunOverlay<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Integer<br>
0N/A </td>
0N/A <td style="vertical-align: top;">0<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Number of pixels to overlap
0N/A tabs when there is more than one row. <br>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">TabbedPane.textIconGap<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Integer<br>
0N/A </td>
0N/A <td style="vertical-align: top;">0<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Padding added between the icon
0N/A and text on a tab. If there is no text or icon this value
0N/A is not used.
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">TabbedPane.selectedTabPadInsets<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Insets<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Empty Insets (0, 0, 0, 0)<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Extra insets added to the
0N/Aselected tab.<br>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">TabbedPane.selectionFollowsFocus<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Boolean<br>
0N/A </td>
0N/A <td style="vertical-align: top;">true<br>
0N/A </td>
0N/A <td style="vertical-align: top;">If true the selection of the
0N/A tabbed pane changes as the user navigates the tabs with a
0N/A mouse.<br>
0N/A </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JTable">JTable</a></h4>
0N/A<p> JTable sets the name of the renderer to Table.cellRenderer.
0N/AJTable supports the following properties: </p>
0N/A<h5>JTable Specific Properties</h5>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>Table.gridColor</td>
0N/A <td>Color</td>
0N/A <td>null </td>
0N/A <td>Color used for the grid. If null the foreground from the
0N/Astyle is used. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>Table.rendererUseTableColors</td>
0N/A <td>Boolean</td>
0N/A <td>true </td>
0N/A <td>If true the renderers state is not updated, and the text
0N/Acolors come from JTable's getSelectionBackground and
0N/AgetSelectionForeground methods. If false, the renderer's state is
0N/Aupdated and the colors will instead come from the Style. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>Table.rendererUseUIBorder</td>
0N/A <td>Boolean</td>
0N/A <td>true </td>
0N/A <td>If true setBorder on the renderer will succeed
0N/Aregardless of the border passed in, otherwise setBorder on the
0N/Arenderer will only succeed if it is a Synth Border. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>Table.rowHeight</td>
0N/A <td>Integer</td>
0N/A <td>-1 </td>
0N/A <td>If not -1 setRowHeight is invoked on the JTable. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="JTree">JTree</a></h4>
0N/A<p> JTree sets the name of the renderer to Tree.renderer, the name of
0N/Athe editor is Tree.cellEditor.</p>
0N/A<h5>JTree Specific Properties</h5>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>Tree.collapsedIcon</td>
0N/A <td>Icon</td>
0N/A <td>null </td>
0N/A <td>Icon to use when a node is collapsed. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>Tree.drawHorizontalLines</td>
0N/A <td>Boolean</td>
0N/A <td>true </td>
0N/A <td>If true nodes have a horizontal connecting them to the
0N/Aleading edge of their parent. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>Tree.drawVerticalLines</td>
0N/A <td>Boolean</td>
0N/A <td>true </td>
0N/A <td>If true a vertical line is drawn down from expanded nodes. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>Tree.expandedIcon</td>
0N/A <td>Icon</td>
0N/A <td>null </td>
0N/A <td>Icon to use when a node has been expanded. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>Tree.leftChildIndent</td>
0N/A <td>Integer</td>
0N/A <td>0 </td>
0N/A <td>This plus Tree.rightChildIndent account for the total
0N/Aspace, along the y axis, to offset nodes from their parent. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>Tree.rightChildIndent</td>
0N/A <td>Integer</td>
0N/A <td>0 </td>
0N/A <td>This plus Tree.leftChildIndent account for the total
0N/Aspace, along the y axis, to offset nodes from their parent. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>Tree.rowHeight</td>
0N/A <td>Integer</td>
0N/A <td>-1 </td>
0N/A <td>Row height for the Tree.</td>
0N/A </tr>
0N/A <tr>
0N/A <td>Tree.scrollsHorizontallyAndVertically</td>
0N/A <td>Boolean</td>
0N/A <td>false </td>
0N/A <td>If false and scrolling needs to happen to accomodate cells
0N/Ait will only happen along the vertical axis, if true, scrolling
0N/Amay happen along both the horizontal and vertical axis. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>Tree.scrollsOnExpand</td>
0N/A <td>Boolean</td>
0N/A <td>true </td>
0N/A <td>Whether or not the JTree should scroll when a node is
0N/Aexpanded. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>Tree.linesStyle</td>
0N/A <td>String</td>
0N/A <td> </td>
0N/A <td>The styles of the lines in the tree. Synth supports solid lines
0N/A(empty value) and dashed lines ("dashed" value). It is possible to add new
0N/Astyles by creating a new <a href="/SynthGraphicsUtils.html">SynthGraphicsUtils</a>
0N/Aand <a href="synthFileFormat.html#e.graphicsUtils">binding it</a> to the tree.</td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<h4><a name="JToggleButton">JToggleButton</a></h4>
0N/A<p> JToggleButton paints text using the TEXT_FOREGROUND ColorType. In
0N/Aaddition to the <a href="#buttonProperties">Button properties</a>,
0N/AJToggleButton supports the following property: </p>
0N/A<h5>JToggleButton Specific Properties</h5>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>ToggleButton.icon</td>
0N/A <td>Icon</td>
0N/A <td>null </td>
0N/A <td>Icon used to render the radio indicator. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<br>
0N/A<h4><a name="buttonProperties">Button Properties</a></h4>
0N/A<p> Each of the Button classes (JButton, JCheckBox, JRadioButton,
0N/AJToggleButton and SynthArrowButton) support a similar set of properties.
0N/AThese properties are: </p>
0N/A<table border="1">
0N/A <thead><tr>
0N/A <th>Property</th>
0N/A <th>Expected Type</th>
0N/A <th>Default Value</th>
0N/A <th>Description </th>
0N/A </tr>
0N/A </thead> <tbody>
0N/A <tr>
0N/A <td>prefix.contentAreaFilled</td>
0N/A <td>Integer</td>
0N/A <td>true </td>
0N/A <td>Refer to the javadoc of <code>javax.swing.AbstractButton#contentAreaFilled(boolean)</code> for details
0N/Aof how this is used. It is up to the Painter to properly honor this
0N/Aproperty. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>prefix.iconTextGap</td>
0N/A <td>Integer</td>
0N/A <td>If unspecified, JButton.setIconTextGap is not invoked. </td>
0N/A <td>Padding between the icon and text. Refer to the javadoc of <code>javax.swing.AbstractButton#setIconTextGap(int)</code> for details of how
0N/Athis is used. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>prefix.margin</td>
0N/A <td>Insets</td>
0N/A <td>Empty Insets (0, 0, 0, 0) </td>
0N/A <td>Margin for the JButton. Refer to the javadoc of <code>javax.swing.AbstractButton#setMargin(java.awt.Insets)</code> for details
0N/Aof how the margin is used. </td>
0N/A </tr>
0N/A <tr>
0N/A <td>prefix.textShiftOffset</td>
0N/A <td>Integer</td>
0N/A <td>0 </td>
0N/A <td>Amount to shift the text and icon, along the x and y axis,
0N/Afrom where it would normally be layed out. This is only used when
0N/Athe button is in a pressed state and does not have a pressed icon. </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<p> <code>Prefix</code> is one of: Button, CheckBox, RadioButton or
0N/AJToggleButton.<br>
0N/A</p>
0N/A<h4><a name="textProperties"></a>Text Properties<br>
0N/A</h4>
0N/A<table cellpadding="2" cellspacing="2" border="1"
0N/A style="text-align: left; width: 100%;">
0N/A <tbody>
0N/A <tr>
0N/A <th style="vertical-align: top; text-align: center;">Property</th>
0N/A <th style="vertical-align: top; text-align: center;">Expected Type<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Default Value<br>
0N/A </th>
0N/A <th style="vertical-align: top; text-align: center;">Description<br>
0N/A </th>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">prefix.caretForeground<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Color<br>
0N/A </td>
0N/A <td style="vertical-align: top;">#000000</td>
0N/A <td style="vertical-align: top;">Color of the caret.<br>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">prefix.margin<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Insets</td>
0N/A <td style="vertical-align: top;">Empty Insets (0, 0, 0, 0),<br>
0N/AEditorPane and TextPane (3, 3, 3, 3)<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Margins of the text component.<br>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td style="vertical-align: top;">prefix.caretBlinkRate<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Integer<br>
0N/A </td>
0N/A <td style="vertical-align: top;">500<br>
0N/A </td>
0N/A <td style="vertical-align: top;">Number of milliseconds defining
0N/Athe blink rate fo the caret.<br>
0N/A </td>
0N/A </tr>
0N/A </tbody>
0N/A</table>
0N/A<p><code>Prefix</code> is one of: EditorPane, FormattedTextField,
0N/APasswordField, TextArea, TextField or TextPane.<br>
0N/A</p>
0N/A</body>
0N/A</html>