1 <!doctype html>
   2 <html lang="en">
   3 <head>
   4   <meta charset="utf-8"/>
   5   <title>Component Specific Properties</title>
   6   <style type="text/css">tbody th {font-weight:normal;text-align:left}</style>
   7 </head>
   8 <!--
   9 Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
  10 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  11 
  12 This code is free software; you can redistribute it and/or modify it
  13 under the terms of the GNU General Public License version 2 only, as
  14 published by the Free Software Foundation.  Oracle designates this
  15 particular file as subject to the "Classpath" exception as provided
  16 by Oracle in the LICENSE file that accompanied this code.
  17 
  18 This code is distributed in the hope that it will be useful, but WITHOUT
  19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  20 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  21 version 2 for more details (a copy is included in the LICENSE file that
  22 accompanied this code).
  23 
  24 You should have received a copy of the GNU General Public License version
  25 2 along with this work; if not, write to the Free Software Foundation,
  26 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  27 
  28 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  29 or visit www.oracle.com if you need additional information or have any
  30 questions.
  31 -->
  32 
  33 <body>
  34 <main role="main">
  35 <h1>Component Specific Properties</h1>
  36 <p> The look, and to some degree the feel of Synth
  37   can be customized by way of component specific properties.
  38   These properties are accessed from <a
  39       href="../SynthStyle.html">SynthStyle#get</a>. Refer to <a
  40       href="synthFileFormat.html#e.property">synth file format</a> for examples
  41   of how to specify these properties in a synth configuration file.</p>
  42 <p>
  43       This file specifies the expected class type each of the values
  44       are to take. The behavior of supplying the wrong type is
  45       unspecified: typically a <code>ClassCastException</code> is
  46       thrown, but it is implementation specific.
  47     </p>
  48 <h2>ArrowButton</h2>
  49 <p> ArrowButton is a special type of JButton that renders an arrow.
  50 ArrowButton is typically not created directly, rather some of the
  51 Components will create it       to render a button with an arrow. The
  52       components that make       use of ArrowButton       are:
  53 JComboBox, JScrollBar and JSplitPane (for the buttons on the divider).
  54 In       addition to the <a
  55  href="#buttonProperties">Button     properties</a>, ArrowButton supports
  56 the following properties: </p>
  57 <table border="1">
  58 <caption>ArrowButton Specific Properties</caption>
  59   <thead><tr>
  60     <th scope="col">Property</th>
  61     <th scope="col">Expected Type</th>
  62     <th scope="col">Default Value</th>
  63     <th scope="col">Description </th>
  64   </tr>
  65   </thead> <tbody>
  66     <tr>
  67       <th scope="row">ArrowButton.size</th>
  68       <td>Integer</td>
  69       <td>16       </td>
  70       <td>Preferred size of the arrow button. </td>
  71     </tr>
  72   </tbody>
  73 </table>
  74 <br>
  75 <h2><a id="JButton">JButton</a></h2>
  76 <p> JButton paints text using the TEXT_FOREGROUND ColorType. In addition
  77 to the <a href="#buttonProperties">Button         properties</a>, JButton
  78 supports the following property: </p>
  79 <table border="1">
  80 <caption>JButton Specific Properties</caption>
  81   <thead><tr>
  82     <th scope="col">Property</th>
  83     <th scope="col">Expected Type</th>
  84     <th scope="col">Default Value</th>
  85     <th scope="col">Description </th>
  86   </tr>
  87   </thead> <tbody>
  88         <tr>
  89       <th scope="row">Button.defaultButtonFollowsFocus</th>
  90       <td>Boolean</td>
  91       <td>true     </td>
  92       <td>Whether or not the          default JButton should change to the
  93 button that is      receiving focus. </td>
  94     </tr>
  95   </tbody>
  96 </table>
  97 <br>
  98 <h2><a id="JCheckBox">JCheckBox</a></h2>
  99 <p> JCheckBox paints text using the TEXT_FOREGROUND ColorType. In
 100 addition to the <a href="#buttonProperties">Button        properties</a>,
 101 JCheckBox supports the following property: </p>
 102 <table border="1">
 103 <caption>JCheckBox Specific Properties</caption>
 104   <thead><tr>
 105     <th scope="col">Property</th>
 106     <th scope="col">Expected Type</th>
 107     <th scope="col">Default Value</th>
 108     <th scope="col">Description </th>
 109   </tr>
 110   </thead> <tbody>
 111         <tr>
 112       <th scope="row">CheckBox.icon</th>
 113       <td>Icon</td>
 114       <td>null     </td>
 115       <td>Icon used to render the check. </td>
 116     </tr>
 117   </tbody>
 118 </table>
 119 <br>
 120 <h2><a id="JComboBox">JComboBox</a></h2>
 121 <p> JComboBox is a composite component that consists of the following
 122 child Components: </p>
 123 <table border="1">
 124 <caption>JComboBox child components</caption>
 125   <thead><tr>
 126     <th scope="col">Name</th>
 127     <th scope="col">Type</th>
 128     <th scope="col">Description </th>
 129   </tr>
 130   </thead> <tbody>
 131         <tr>
 132       <th scope="row">ComboBox.arrowButton</th>
 133       <td>SynthArrowButton         </td>
 134       <td>Renders the drop down indicator.        </td>
 135     </tr>
 136     <tr>
 137       <th scope="row">ComboBox.list</th>
 138       <td>JList    </td>
 139       <td>JList used to render the values.        </td>
 140     </tr>
 141     <tr>
 142       <th scope="row">ComboBox.listRenderer</th>
 143       <td>Component        </td>
 144       <td>The renderer used for the JComboBox's JList.    </td>
 145     </tr>
 146     <tr>
 147       <th scope="row">ComboBox.popup</th>
 148       <td>JPopupMenu       </td>
 149       <td>JPopupMenu used to show the ComboBox.list of the JComboBox.     </td>
 150     </tr>
 151     <tr>
 152       <th scope="row">ComboBox.renderer</th>
 153       <td>Component        </td>
 154       <td>The renderer used for the JComboBox. This is ONLY set if
 155 the renderer is a UIResource.   </td>
 156     </tr>
 157     <tr>
 158       <th scope="row">ComboBox.scrollPane</th>
 159       <td>JScrollPane      </td>
 160       <td>JScrollPane containing the JList.       </td>
 161     </tr>
 162     <tr>
 163       <th scope="row">ComboBox.textField</th>
 164       <td>JTextField       </td>
 165       <td>The editor. </td>
 166     </tr>
 167   </tbody>
 168 </table>
 169 
 170 <p>&nbsp;</p>
 171 <table border="1">
 172 <caption>JComboBox Specific Properties</caption>
 173   <thead><tr>
 174     <th scope="col">Property</th>
 175     <th scope="col">Expected Type</th>
 176     <th scope="col">Default Value</th>
 177     <th scope="col">Description </th>
 178   </tr>
 179   </thead> <tbody>
 180     <tr>
 181       <th scope="row">ComboBox.showPopupOnNavigation</th>
 182       <td>Boolean</td>
 183       <td>false    </td>
 184       <td>Whether or not the JPopupMenu should appear when         navigating
 185 with the keyboard. </td>
 186     </tr>
 187   </tbody>
 188 </table>
 189 <br>
 190 <h2>JFileChooser</h2>
 191 <table cellpadding="2" cellspacing="2" border="1" style="width: 100%; text-align: left;">
 192 <caption>JFileChooser Specific Properties</caption>
 193   <thead>
 194     <tr>
 195       <th scope="col" style="vertical-align: top; text-align: center;">Property</th>
 196       <th scope="col" style="vertical-align: top; text-align: center;">Expected Type<br>
 197       </th>
 198       <th scope="col" style="vertical-align: top; text-align: center;">Default Value<br>
 199       </th>
 200       <th scope="col" style="vertical-align: top; text-align: center;">Description</th>
 201     </tr>
 202   </thead> <tbody>
 203     <tr>
 204       <th scope="row" style="vertical-align: top;">FileChooser.cancelIcon<br>
 205       </th>
 206       <td style="vertical-align: top;">Icon<br>
 207       </td>
 208       <td style="vertical-align: top;">null<br>
 209       </td>
 210       <td style="vertical-align: top;">Icon displayed on cancel button
 211 of the file chooser.<br>
 212       </td>
 213     </tr>
 214     <tr>
 215       <th scope="row" style="vertical-align: top;">FileChooser.okIcon<br>
 216       </th>
 217       <td style="vertical-align: top;">Icon<br>
 218       </td>
 219       <td style="vertical-align: top;">null<br>
 220       </td>
 221       <td style="vertical-align: top;">Icon displayed on the ok button
 222 of the file chooser.<br>
 223       </td>
 224     </tr>
 225     <tr>
 226       <th scope="row" style="vertical-align: top;">FileView.directoryIcon<br>
 227       </th>
 228       <td style="vertical-align: top;">Icon<br>
 229       </td>
 230       <td style="vertical-align: top;">null<br>
 231       </td>
 232       <td style="vertical-align: top;">Icon used for directories.
 233       </td>
 234     </tr>
 235     <tr>
 236       <th scope="row" style="vertical-align: top;">FileView.fileIcon<br>
 237       </th>
 238       <td style="vertical-align: top;">Icon<br>
 239       </td>
 240       <td style="vertical-align: top;">null<br>
 241       </td>
 242       <td style="vertical-align: top;">Icon used for files.
 243       </td>
 244     </tr>
 245     <tr>
 246       <th scope="row" style="vertical-align: top;">FileView.computerIcon<br>
 247       </th>
 248       <td style="vertical-align: top;">Icon<br>
 249       </td>
 250       <td style="vertical-align: top;">null<br>
 251       </td>
 252       <td style="vertical-align: top;">Icon used for directories that
 253             represent the computer.  Not all platforms will make use
 254             of this icon.
 255       </td>
 256     </tr>
 257     <tr>
 258       <th scope="row" style="vertical-align: top;">FileView.hardDriveIcon<br>
 259       </th>
 260       <td style="vertical-align: top;">Icon<br>
 261       </td>
 262       <td style="vertical-align: top;">null<br>
 263       </td>
 264       <td style="vertical-align: top;">Icon used to represent the root
 265             of a hard drive.  For example, on Windows this would be
 266             used when viewing the C drive.
 267       </td>
 268     </tr>
 269     <tr>
 270       <th scope="row" style="vertical-align: top;">FileView.floppyDriveIcon<br>
 271       </th>
 272       <td style="vertical-align: top;">Icon<br>
 273       </td>
 274       <td style="vertical-align: top;">null<br>
 275       </td>
 276       <td style="vertical-align: top;">Icon used to represent a floppy
 277           disk.
 278       </td>
 279     </tr>
 280     <tr>
 281       <th scope="row" style="vertical-align: top;">FileChooser.newFolderIcon<br>
 282       </th>
 283       <td style="vertical-align: top;">Icon<br>
 284       </td>
 285       <td style="vertical-align: top;">null<br>
 286       </td>
 287       <td style="vertical-align: top;">Icon used by the button that creates a new
 288           folder.
 289       </td>
 290     </tr>
 291     <tr>
 292       <th scope="row" style="vertical-align: top;">FileChooser.upFolderIcon<br>
 293       </th>
 294       <td style="vertical-align: top;">Icon<br>
 295       </td>
 296       <td style="vertical-align: top;">null<br>
 297       </td>
 298       <td style="vertical-align: top;">Icon used by the button that navigates to the
 299           parent folder.
 300       </td>
 301     </tr>
 302     <tr>
 303       <th scope="row" style="vertical-align: top;">FileChooser.homeFolderIcon<br>
 304       </th>
 305       <td style="vertical-align: top;">Icon<br>
 306       </td>
 307       <td style="vertical-align: top;">null<br>
 308       </td>
 309       <td style="vertical-align: top;">Icon used by the button that navigates to the
 310           current user's home directory.
 311       </td>
 312     </tr>
 313     <tr>
 314       <th scope="row" style="vertical-align: top;">FileChooser.detailsViewIcon<br>
 315       </th>
 316       <td style="vertical-align: top;">Icon<br>
 317       </td>
 318       <td style="vertical-align: top;">null<br>
 319       </td>
 320       <td style="vertical-align: top;">Icon used by the button that toggles the
 321           detailed files list view.
 322       </td>
 323     </tr>
 324     <tr>
 325       <th scope="row" style="vertical-align: top;">FileChooser.listViewIcon<br>
 326       </th>
 327       <td style="vertical-align: top;">Icon<br>
 328       </td>
 329       <td style="vertical-align: top;">null<br>
 330       </td>
 331       <td style="vertical-align: top;">Icon used by the button that toggles the
 332           regular files list view, showing only an icon and the name of each
 333           file and directory.
 334       </td>
 335     </tr>
 336     <tr>
 337       <th scope="row" style="vertical-align: top;">FileChooser.viewMenuIcon<br>
 338       </th>
 339       <td style="vertical-align: top;">Icon<br>
 340       </td>
 341       <td style="vertical-align: top;">null<br>
 342       </td>
 343       <td style="vertical-align: top;">Icon used by the button that shows popup menu
 344           for selection of a view mode.
 345       </td>
 346     </tr>
 347   </tbody>
 348 </table>
 349 <br>
 350 <h2><a id="JInternalFrame"></a>JInternalFrame</h2>
 351 <table cellpadding="2" cellspacing="2" border="1" style="text-align: left; width: 100%;">
 352 <caption>JInternalFrame Specific Properties</caption>
 353   <thead><tr>
 354       <th scope="col" style="vertical-align: top; text-align: center;">Property<br>
 355       </th>
 356       <th scope="col" style="vertical-align: top; text-align: center;">Expected Type<br>
 357       </th>
 358       <th scope="col" style="vertical-align: top; text-align: center;">DefaultValue<br>
 359       </th>
 360       <th scope="col" style="vertical-align: top; text-align: center;">Description<br>
 361       </th>
 362     </tr>
 363   </thead> <tbody>
 364     <tr>
 365       <th scope="row" style="vertical-align: top;">InternalFrame.icon<br>
 366       </th>
 367       <td style="vertical-align: top;">Icon</td>
 368       <td style="vertical-align: top;">null<br>
 369       </td>
 370       <td style="vertical-align: top;">Icon drawn representing the
 371 system<br>
 372 icon of the internal frame.&nbsp; If pressed<br>
 373 the system menu will be shown.<br>
 374       </td>
 375     </tr>
 376   </tbody>
 377 </table>
 378 <br>
 379 <h2><a id="JInternalFrameTitlePane"></a>JInternalFrameTitlePane</h2>
 380 <p>JInternalFrameTitlePane is the control bar located at the top of the
 381 internal frame similar to that found in a frame.<br>
 382 </p>
 383 <table cellpadding="2" cellspacing="2" border="1" style="text-align: left; width: 100%;">
 384 <caption>JInternalFrameTitlePane Specific Properties</caption>
 385   <thead><tr>
 386       <th scope="col" style="vertical-align: top; text-align: center;">Property<br>
 387       </th>
 388       <th scope="col" style="vertical-align: top; text-align: center;">Expected Type<br>
 389       </th>
 390       <th scope="col" style="vertical-align: top; text-align: center;">Default Value<br>
 391       </th>
 392       <th scope="col" style="vertical-align: top; text-align: center;">Description<br>
 393       </th>
 394     </tr>
 395   </thead> <tbody>
 396     <tr>
 397       <th scope="row" style="vertical-align: top;">InternalFrameTitlePane.maximizeIcon<br>
 398       </th>
 399       <td style="vertical-align: top;">Icon</td>
 400       <td style="vertical-align: top;">null<br>
 401       </td>
 402       <td style="vertical-align: top;">Icon drawn to indicate the
 403 ability to maximize the internal frame.<br>
 404       </td>
 405     </tr>
 406     <tr>
 407       <th scope="row" style="vertical-align: top;">InternalFrameTitlePane.minimizeIcon<br>
 408       </th>
 409       <td style="vertical-align: top;">Icon</td>
 410       <td style="vertical-align: top;">null<br>
 411       </td>
 412       <td style="vertical-align: top;">Icon drawn to indicate the
 413 ability to restore the internal frame back to its previous state.<br>
 414       </td>
 415     </tr>
 416     <tr>
 417       <th scope="row" style="vertical-align: top;">InternalFrameTitlePane.iconifyIcon<br>
 418       </th>
 419       <td style="vertical-align: top;">Icon</td>
 420       <td style="vertical-align: top;">null<br>
 421       </td>
 422       <td style="vertical-align: top;">Icon drawn to indicate the
 423 ability to minimize the internal frame.<br>
 424       </td>
 425     </tr>
 426     <tr>
 427       <th scope="row" style="vertical-align: top;">InternalFrameTitlePane.closeIcon<br>
 428       </th>
 429       <td style="vertical-align: top;">Icon</td>
 430       <td style="vertical-align: top;">null<br>
 431       </td>
 432       <td style="vertical-align: top;">Icon drawn to indicate the
 433 abililty to close the internal frame.
 434       </td>
 435     </tr>
 436     <tr>
 437       <th scope="row" style="vertical-align: top;">InternalFrameTitlePane.titleSpacing<br>
 438       </th>
 439       <td style="vertical-align: top;">Integer</td>
 440       <td style="vertical-align: top;">2</td>
 441       <td style="vertical-align: top;">Space between the
 442             buttons on the title pane and the title.
 443       </td>
 444     </tr>
 445     <tr>
 446       <th scope="row" style="vertical-align: top;">InternalFrameTitlePane.buttonSpacing<br>
 447       </th>
 448       <td style="vertical-align: top;">Integer</td>
 449       <td style="vertical-align: top;">2</td>
 450       <td style="vertical-align: top;">Space between the buttons on
 451             the title pane.
 452       </td>
 453     </tr>
 454     <tr>
 455       <th scope="row" style="vertical-align: top;">InternalFrameTitlePane.maxFrameIconSize<br>
 456       </th>
 457       <td style="vertical-align: top;">Dimension</td>
 458       <td style="vertical-align: top;">16x16</td>
 459       <td style="vertical-align: top;">Maximum size of the frame
 460             icon that will be rendered on the title pane.  If the icon
 461             is bigger than this size, it will be scaled down.
 462       </td>
 463     </tr>
 464     <tr>
 465       <th scope="row" style="vertical-align: top;">InternalFrameTitlePane.titleAlignment<br>
 466       </th>
 467       <td style="vertical-align: top;">leading|trailing|center</td>
 468       <td style="vertical-align: top;">leading</td>
 469       <td style="vertical-align: top;">Alignment for the title.
 470             With a left to right component orientation leading is left
 471             and trailing right.  With a right to left component
 472             orientation leading is right and trailing left.
 473       </td>
 474     </tr>
 475   </tbody>
 476 </table>
 477 <br>
 478 <h2><a id="JList">JList</a></h2>
 479 <p> JList's sets the name of the renderer to List.renderer.       JList
 480 supports the following properties: </p>
 481 <table border="1">
 482 <caption>JList Specific Properties</caption>
 483   <thead><tr>
 484     <th scope="col">Property</th>
 485     <th scope="col">Expected Type</th>
 486     <th scope="col">Default Value</th>
 487     <th scope="col">Description </th>
 488   </tr>
 489   </thead> <tbody>
 490     <tr>
 491       <th scope="row">List.rendererUseListColors</th>
 492       <td>Boolean</td>
 493       <td>true     </td>
 494       <td>If true the renderers state is not updated, and the         text
 495 colors come from JList's getSelectionBackground and
 496 getSelectionForeground methods. If false, the renderer's            state is
 497 updated and the colors will instead come from the           Style.      </td>
 498     </tr>
 499     <tr>
 500       <th scope="row">List.rendererUseUIBorder</th>
 501       <td>Boolean</td>
 502       <td>true     </td>
 503       <td>If true setBorder on the renderer will succeed   regardless
 504 of the border passed in, otherwise setBorder on             the renderer will
 505 only succeed if it is a Synth Border.   </td>
 506     </tr>
 507     <tr>
 508       <th scope="row">List.cellHeight</th>
 509       <td>Integer</td>
 510       <td>-1       </td>
 511       <td>Cell height of the JList. Is this is -1,         <code>setFixedCellHeight</code>
 512 is not invoked. </td>
 513     </tr>
 514   </tbody>
 515 </table>
 516 <br>
 517 <h2><a id="menuProperties">Menu Properties</a></h2>
 518 <p> The Menu classes (JCheckBoxMenuItem, JMenu, JMenuItem, and
 519 JRadioButtonMenuItem) all support the same set of properties and behave
 520 similarly.       Each component consists of two Regions: the region
 521 specific to the       component and Region.MENU_ITEM_ACCELERATOR.
 522 MENU_ITEM_ACCELERATOR is used for painting the accelerator. Both Regions
 523 paint text using the TEXT_FOREGROUND ColorType. The following set of
 524 properties are supported: </p>
 525 <table border="1">
 526 <caption>Menu classes common properties</caption>
 527   <thead><tr>
 528     <th scope="col">Property</th>
 529     <th scope="col">Expected Type</th>
 530     <th scope="col">Default Value</th>
 531     <th scope="col">Description </th>
 532   </tr>
 533   </thead> <tbody>
 534         <tr>
 535       <th scope="row">prefix.acceleratorDelimiter</th>
 536       <td>String</td>
 537       <td>+        </td>
 538       <td>String separator between the description of the          modifiers
 539 and the key, for example <code>Ctrl        &lt;acceleratorDelimiter&gt; X</code>.
 540         </td>
 541     </tr>
 542     <tr>
 543       <th scope="row">prefix.arrowIcon</th>
 544       <td>Icon</td>
 545       <td>null     </td>
 546       <td>Icon drawn to the right of the text (or left when the
 547 ComponentOrientation is right to left) of the text. This            is
 548 typically only defined for JMenu.       </td>
 549     </tr>
 550     <tr>
 551       <th scope="row">prefix.checkIcon</th>
 552       <td>Icon</td>
 553       <td>null     </td>
 554       <td>Icon drawn to the left of the text (or right when the
 555 ComponentOrientation is right to left) of the text. This            is
 556 typically only defined for JCheckBoxMenuItem and         JRadioButtonMenuItem
 557 to provide the check or radio button.   </td>
 558     </tr>
 559     <tr>
 560       <th scope="row">prefix.margin</th>
 561       <td>Insets</td>
 562       <td>Empty Insets (0, 0, 0, 0)        </td>
 563       <td>Margin for the JMenuItem. Refer to the javadoc of
 564             <code>javax.swing.AbstractButton#setMargin(java.awt.Insets)</code> for details
 565 of how the margin is used.      </td>
 566     </tr>
 567     <tr>
 568       <th scope="row">prefix.textIconGap</th>
 569       <td>Integer</td>
 570       <td>4        </td>
 571       <td>Padding between the icon and text. Refer to the javadoc for
 572 <code>javax.swing.AbstractButton#setIconTextGap(int)</code> for details of how
 573 this is used. </td>
 574     </tr>
 575   </tbody>
 576 </table>
 577 <p> <code>Prefix</code> is one of: CheckBoxMenuItem, Menu, MenuItem, or
 578 RadioButtonMenuItem. </p>
 579 <p> JMenu also supports the following properties: </p>
 580 <table border="1">
 581 <caption>JMenu specific properties</caption>
 582   <thead><tr>
 583     <th scope="col">Property</th>
 584     <th scope="col">Expected Type</th>
 585     <th scope="col">Default Value</th>
 586     <th scope="col">Description </th>
 587   </tr>
 588   </thead> <tbody>
 589         <tr>
 590       <th scope="row">Menu.delay</th>
 591       <td>Integer</td>
 592       <td>200      </td>
 593       <td>Sets the delay before the menu appears.         </td>
 594     </tr>
 595     <tr>
 596       <th scope="row">Menu.shortcutKeys</th>
 597       <td>int[]</td>
 598       <td>KeyEvent.ALT_MASK        </td>
 599       <td>Array of the KeyEvent modifiers to use for shortcut keys. </td>
 600     </tr>
 601   </tbody>
 602 </table>
 603 <br>
 604 <h2><a id="JOptionPane">JOptionPane</a></h2>
 605 <p> JOptionPane is a composite component and may consist of numerous child
 606 components, they are: OptionPane.button, OptionPane.label,
 607 OptionPane.comboBox, OptionPane.scrollPane, OptionPane.list,
 608 OptionPane.textField, OptionPane.iconLabel. </p>
 609 <table border="1">
 610 <caption>JOptionPane Specific Properties</caption>
 611   <thead><tr>
 612     <th scope="col">Property</th>
 613     <th scope="col">Expected Type</th>
 614     <th scope="col">Default Value</th>
 615     <th scope="col">Description </th>
 616   </tr>
 617   </thead> <tbody>
 618         <tr>
 619       <th scope="row">OptionPane.buttonAreaBorder</th>
 620       <td>Border   </td>
 621       <td>null     </td>
 622       <td>Border around the button area.  </td>
 623     </tr>
 624     <tr>
 625       <th scope="row">OptionPane.buttonClickThreshhold</th>
 626       <td>Integer          </td>
 627       <td>0        </td>
 628       <td>Passed to the created buttons setMultiClickThreshhold.  </td>
 629     </tr>
 630     <tr>
 631       <th scope="row">OptionPane.buttonOrientation</th>
 632       <td>Integer          </td>
 633       <td>SwingConstants.CENTER    </td>
 634       <td>How the buttons should be layed out, one of
 635 SwingConstants.LEFT, SwingConstants.RIGHT or        SwingConstants.CENTER
 636 (this will be flipped when in a             right to left locale).      </td>
 637     </tr>
 638     <tr>
 639       <th scope="row">OptionPane.buttonPadding</th>
 640       <td>Integer          </td>
 641       <td>6        </td>
 642       <td>Amount of space between buttons.        </td>
 643     </tr>
 644     <tr>
 645       <th scope="row">OptionPane.cancelIcon</th>
 646       <td>Icon     </td>
 647       <td>null     </td>
 648       <td>Icon for the cancel button.     </td>
 649     </tr>
 650     <tr>
 651       <th scope="row">OptionPane.errorIcon</th>
 652       <td>Icon     </td>
 653       <td>null     </td>
 654       <td>Icon used for ERROR_MESSAGE.    </td>
 655     </tr>
 656     <tr>
 657       <th scope="row">OptionPane.informationIcon</th>
 658       <td>Icon     </td>
 659       <td>null     </td>
 660       <td>Icon used for INFORMATION_MESSAGE.      </td>
 661     </tr>
 662     <tr>
 663       <th scope="row">OptionPane.isYesLast</th>
 664       <td>Boolean          </td>
 665       <td>false    </td>
 666       <td>If true the 'yes' button leads other buttons,       otherwise
 667 it follows the other buttons.   </td>
 668     </tr>
 669     <tr>
 670       <th scope="row">OptionPane.questionIcon</th>
 671       <td>Icon     </td>
 672       <td>null     </td>
 673       <td>Icon used for error QUESTION_MESSAGE.   </td>
 674     </tr>
 675     <tr>
 676       <th scope="row">OptionPane.minimumSize</th>
 677       <td>Dimension        </td>
 678       <td>262x90</td>
 679       <td>Minimum size for the JOptionPane.       </td>
 680     </tr>
 681     <tr>
 682       <th scope="row">OptionPane.noIcon</th>
 683       <td>Icon     </td>
 684       <td>null     </td>
 685       <td>Icon for the no button.         </td>
 686     </tr>
 687     <tr>
 688       <th scope="row">OptionPane.okIcon</th>
 689       <td>Icon     </td>
 690       <td>null     </td>
 691       <td>Icon for the ok button.         </td>
 692     </tr>
 693     <tr>
 694       <th scope="row">OptionPane.sameSizeButtons</th>
 695       <td>Boolean          </td>
 696       <td>true     </td>
 697       <td>Whether or not all the buttons should be the same size.         </td>
 698     </tr>
 699     <tr>
 700       <th scope="row">OptionPane.separatorPadding</th>
 701       <td>Integer          </td>
 702       <td>6</td>
 703       <td>Amount of padding between the message area and   separator.     </td>
 704     </tr>
 705     <tr>
 706       <th scope="row">OptionPane.yesIcon</th>
 707       <td>Icon     </td>
 708       <td>null     </td>
 709       <td>Icon for the yes button.        </td>
 710     </tr>
 711     <tr>
 712       <th scope="row">OptionPane.warningIcon</th>
 713       <td>Icon     </td>
 714       <td>null     </td>
 715       <td>Icon used for error WARNING_MESSAGE     </td>
 716     </tr>
 717   </tbody>
 718 </table>
 719 <br>
 720 <h2><a id="JProgressBar"></a>JProgressBar<br>
 721 </h2>
 722 <table cellpadding="2" cellspacing="2" border="1" style="text-align: left; width: 100%;">
 723 <caption>JProgressBar Specific Properties</caption>
 724   <thead><tr>
 725       <th scope="col" style="vertical-align: top; text-align: center;">Property</th>
 726       <th scope="col" style="vertical-align: top; text-align: center;">Expected Type<br>
 727       </th>
 728       <th scope="col" style="vertical-align: top; text-align: center;">Default Value<br>
 729       </th>
 730       <th scope="col" style="vertical-align: top; text-align: center;">Description</th>
 731     </tr>
 732   </thead> <tbody>
 733     <tr>
 734       <th scope="row" style="vertical-align: top;">ProgressBar.repaintInterval<br>
 735       </th>
 736       <td style="vertical-align: top;">Integer<br>
 737       </td>
 738       <td style="vertical-align: top;">50<br>
 739       </td>
 740       <td style="vertical-align: top;">Number of milliseconds between
 741 repaints for indeterminate progress bars.<br>
 742       </td>
 743     </tr>
 744     <tr>
 745       <th scope="row" style="vertical-align: top;">ProgressBar.cycleTime<br>
 746       </th>
 747       <td style="vertical-align: top;">Integer<br>
 748       </td>
 749       <td style="vertical-align: top;">3000<br>
 750       </td>
 751       <td style="vertical-align: top;">Number of milliseconds used to
 752 determine how far to move<br>
 753 the bouncing box per frame when the progress bar is indeterminate.<br>
 754       </td>
 755     </tr>
 756   </tbody>
 757 </table>
 758 <h2><a id="JRadioButton">JRadioButton</a></h2>
 759 <p> JRadioButton paints text using the TEXT_FOREGROUND ColorType. In
 760 addition to the <a href="#buttonProperties">Button        properties</a>,
 761 JRadioButton supports the following property: </p>
 762 <table border="1">
 763 <caption>JRadioButton Specific Properties</caption>
 764   <thead><tr>
 765     <th scope="col">Property</th>
 766     <th scope="col">Expected Type</th>
 767     <th scope="col">Default Value</th>
 768     <th scope="col">Description </th>
 769   </tr>
 770   </thead> <tbody>
 771         <tr>
 772       <th scope="row">RadioButton.icon</th>
 773       <td>Icon</td>
 774       <td>null     </td>
 775       <td>Icon used to render the radio indicator. </td>
 776     </tr>
 777   </tbody>
 778 </table>
 779 <br>
 780 <h2><a id="JScrollBar">JScrollBar</a></h2>
 781 <p> JScrollBar is a composite component that consists of the following
 782 child Components: </p>
 783 <table border="1">
 784 <caption>JScrollBar child components</caption>
 785   <thead><tr>
 786     <th scope="col">Name</th>
 787     <th scope="col">Type</th>
 788     <th scope="col">Description </th>
 789   </tr>
 790   </thead> <tbody>
 791         <tr>
 792       <th scope="row">ScrollBar.button</th>
 793       <td>SynthArrowButton         </td>
 794       <td>Identifies the increment/decrement buttons. </td>
 795     </tr>
 796   </tbody>
 797 </table>
 798 
 799 <p>&nbsp;</p>
 800 <table border="1">
 801 <caption>JScrollBar Specific Properties</caption>
 802   <thead><tr>
 803     <th scope="col">Property</th>
 804     <th scope="col">Expected Type</th>
 805     <th scope="col">Default Value</th>
 806     <th scope="col">Description </th>
 807   </tr>
 808   </thead> <tbody>
 809         <tr>
 810       <th scope="row">ScrollBar.allowsAbsolutePositioning</th>
 811       <td>Boolean          </td>
 812       <td>false</td>
 813       <td>If true, middle mouse click in the track will       set the
 814 position of the track to where the mouse is.    </td>
 815     </tr>
 816     <tr>
 817       <th scope="row">ScrollBar.maximumThumbSize</th>
 818       <td>Dimension</td>
 819       <td>4096x4096        </td>
 820       <td>Maximum thumb size.     </td>
 821     </tr>
 822     <tr>
 823       <th scope="row">ScrollBar.minimumThumbSize</th>
 824       <td>Dimension</td>
 825       <td>Derived from ScrollBar.thumbHeight</td>
 826       <td>The minimum thumb size.  If this is not specified the
 827             minimum thumb size is ScrollBar.thumbHeight plus the insets
 828             of the scrollbar along the opposite axis of the scrollbar
 829             and 7 along the other axis.  For example, if you have not
 830             specified Insets for a scrollbar, and the orientation of
 831             the scrollbar is vertical, than the minimum thumb
 832             size width is ScrollBar.thumbHeight with a height of 7.</td>
 833     </tr>
 834     <tr>
 835       <th scope="row">ScrollBar.squareButtons</th>
 836       <td>Boolean          </td>
 837       <td>false</td>
 838       <td>If true, the width and height of the scrollbar      buttons
 839 will be made equal.     </td>
 840     </tr>
 841     <tr>
 842       <th scope="row">ScrollBar.thumbHeight</th>
 843       <td>Integer</td>
 844       <td>14       </td>
 845       <td>The preferred height, when the orientation of the
 846             scrollbar is horizontal, or preferred width when the
 847             orientation of the scrollbar is vertical.</td>
 848     </tr>
 849   </tbody>
 850 </table>
 851 <br>
 852 <h2><a id="Separator">Separators</a></h2>
 853 <p> All of the separator classes, JSeparator, JPopupMenu.Separator and
 854 JToolBar.Separator use the same property: </p>
 855 <table border="1">
 856 <caption>Separator classes common properties</caption>
 857   <thead><tr>
 858     <th scope="col">Property</th>
 859     <th scope="col">Expected Type</th>
 860     <th scope="col">Default Value</th>
 861     <th scope="col">Description </th>
 862   </tr>
 863   </thead> <tbody>
 864         <tr>
 865       <th scope="row">Separator.thickness</th>
 866       <td>Integer</td>
 867       <td>2        </td>
 868       <td>Preferred width, for vertically aligned separators, or
 869 preferred height for horizontally aligned separators. The        resulting
 870 preferred size will include the Insets. </td>
 871     </tr>
 872   </tbody>
 873 </table>
 874 <p> JToolBar.Separator also supports the following property: </p>
 875 <table border="1">
 876 <caption>JToolBar.Separator specific properties</caption>
 877   <thead><tr>
 878     <th scope="col">Property</th>
 879     <th scope="col">Expected Type</th>
 880     <th scope="col">Default Value</th>
 881     <th scope="col">Description </th>
 882   </tr>
 883   </thead> <tbody>
 884         <tr>
 885       <th scope="row">ToolBar.separatorSize</th>
 886       <td>Dimension</td>
 887       <td>null     </td>
 888     <td>The value of this is passed to the
 889       <code>javax.swing.JToolBar$Separator#setSeparatorSize(java.awt.Dimension)</code>
 890       method. If unspecified <code>setSeparatorSize</code> is not invoked.
 891     </td>
 892   </tr>
 893   </tbody>
 894 </table>
 895 <br>
 896 <h2><a id="JScrollPane">JScrollPane</a></h2>
 897 <p>
 898       JScrollPane is unique in that it provides a method for setting
 899       the Border around the JViewport with JViewport throwing an
 900       IllegalArgumentException from <code>setBorder</code>. To
 901       accommodate this a special border is installed on the
 902       <code>JScrollPane</code> that uses the
 903       insets from the key
 904       <code>ScrollPane.viewportBorderInsets</code>. The
 905       <code>SynthPainter</code> method
 906       <code>paintViewportBorder</code> is called to paint the
 907       <code>Viewport</code>s border.
 908  </p>
 909 <table border="1">
 910 <caption>JScrollPane Specific Properties</caption>
 911   <thead><tr>
 912     <th scope="col">Property</th>
 913     <th scope="col">Expected Type</th>
 914     <th scope="col">Default Value</th>
 915     <th scope="col">Description </th>
 916   </tr>
 917   </thead> <tbody>
 918     <tr>
 919       <th scope="row">ScrollPane.viewportBorderInsets</th>
 920       <td>Insets</td>
 921       <td>null     </td>
 922       <td>Insets for the viewport Border.         </td>
 923     </tr>
 924   </tbody>
 925 </table>
 926 <br>
 927 <h2><a id="JSplitPane">JSplitPane</a></h2>
 928 <p> JSplitPane is a composite component that will contain a divider and
 929 potentially two buttons, if setOneTouchExpandable(true) has been
 930 invoked. The two buttons will be named:
 931 SplitPaneDivider.leftOneTouchButton and
 932 SplitPaneDivider.rightOneTouchButton. </p>
 933 <table border="1">
 934 <caption>JSplitPane Specific Properties</caption>
 935   <thead><tr>
 936     <th scope="col">Property</th>
 937     <th scope="col">Expected Type</th>
 938     <th scope="col">Default Value</th>
 939     <th scope="col">Description </th>
 940   </tr>
 941   </thead> <tbody>
 942     <tr>
 943       <th scope="row">SplitPane.centerOneTouchButtons</th>
 944       <td>Boolean</td>
 945       <td>true     </td>
 946       <td>If true, the one touch buttons are centered on the divider.     </td>
 947     </tr>
 948     <tr>
 949       <th scope="row">SplitPane.oneTouchButtonOffset</th>
 950       <td>Integer</td>
 951       <td>2        </td>
 952       <td>Distance between the one touch buttons.         </td>
 953     </tr>
 954     <tr>
 955       <th scope="row">SplitPane.oneTouchButtonSize</th>
 956       <td>Integer</td>
 957       <td>6        </td>
 958       <td>Size to make the one touch buttons.     </td>
 959     </tr>
 960     <tr>
 961       <th scope="row">SplitPane.oneTouchExpandable</th>
 962       <td>Boolean</td>
 963       <td>null     </td>
 964       <td>If non null, the value of this is passed to
 965 setOneTouchExpandable.  </td>
 966     </tr>
 967     <tr>
 968       <th scope="row">SplitPane.size</th>
 969       <td>Integer</td>
 970       <td>6        </td>
 971       <td>Size of the divider </td>
 972     </tr>
 973   </tbody>
 974 </table>
 975 <br>
 976 <h2><a id="JSlider"></a>JSlider</h2>
 977 <table cellpadding="2" cellspacing="2" border="1" style="text-align: left; width: 100%;">
 978 <caption>JSlider Specific Properties</caption>
 979   <thead><tr>
 980       <th scope="col" style="vertical-align: top; text-align: center;">Property<br>
 981       </th>
 982       <th scope="col" style="vertical-align: top; text-align: center;">Expected Type<br>
 983       </th>
 984       <th scope="col" style="vertical-align: top; text-align: center;">Default Value<br>
 985       </th>
 986       <th scope="col" style="vertical-align: top; text-align: center;">Description<br>
 987       </th>
 988     </tr>
 989   </thead> <tbody>
 990     <tr>
 991       <th scope="row" style="vertical-align: top;">Slider.thumbWidth<br>
 992       </th>
 993       <td style="vertical-align: top;">Integer<br>
 994       </td>
 995       <td style="vertical-align: top;">30<br>
 996       </td>
 997       <td style="vertical-align: top;">Width of the slider thumb<br>
 998       </td>
 999     </tr>
1000     <tr>
1001       <th scope="row" style="vertical-align: top;">Slider.thumbHeight<br>
1002       </th>
1003       <td style="vertical-align: top;">Integer<br>
1004       </td>
1005       <td style="vertical-align: top;">14<br>
1006       </td>
1007       <td style="vertical-align: top;">Height of the slider thumb<br>
1008       </td>
1009     </tr>
1010     <tr>
1011       <th scope="row" style="vertical-align: top;">Slider.trackBorder<br>
1012       </th>
1013       <td style="vertical-align: top;">Integer<br>
1014       </td>
1015       <td style="vertical-align: top;">1<br>
1016       </td>
1017       <td style="vertical-align: top;">Width of the track border<br>
1018       </td>
1019     </tr>
1020     <tr>
1021       <th scope="row" style="vertical-align: top;">Slider.paintValue<br>
1022       </th>
1023       <td style="vertical-align: top;">Boolean<br>
1024       </td>
1025       <td style="vertical-align: top;">true<br>
1026       </td>
1027       <td style="vertical-align: top;">Whether or not to paint the
1028 current value<br>
1029 of the slider.<br>
1030       </td>
1031     </tr>
1032   </tbody>
1033 </table>
1034 <br>
1035 <h2><a id="JTabbedPane"></a>JTabbedPane</h2>
1036 <table cellpadding="2" cellspacing="2" border="1" style="text-align: left; width: 100%;">
1037 <caption>JTabbedPane Specific Properties</caption>
1038   <thead><tr>
1039       <th scope="col" style="vertical-align: top; text-align: center;">Property</th>
1040       <th scope="col" style="vertical-align: top; text-align: center;">Expected Type<br>
1041       </th>
1042       <th scope="col" style="vertical-align: top; text-align: center;">Default Value<br>
1043       </th>
1044       <th scope="col" style="vertical-align: top; text-align: center;">Description</th>
1045     </tr>
1046   </thead> <tbody>
1047     <tr>
1048       <th scope="row" style="vertical-align: top;">TabbedPane.tabRunOverlay<br>
1049       </th>
1050       <td style="vertical-align: top;">Integer<br>
1051       </td>
1052       <td style="vertical-align: top;">0<br>
1053       </td>
1054       <td style="vertical-align: top;">Number of pixels to overlap
1055             tabs when there is more than one row.  <br>
1056       </td>
1057     </tr>
1058     <tr>
1059       <th scope="row" style="vertical-align: top;">TabbedPane.textIconGap<br>
1060       </th>
1061       <td style="vertical-align: top;">Integer<br>
1062       </td>
1063       <td style="vertical-align: top;">0<br>
1064       </td>
1065       <td style="vertical-align: top;">Padding added between the icon
1066             and text on a tab.  If there is no text or icon this value
1067             is not used.
1068       </td>
1069     </tr>
1070     <tr>
1071       <th scope="row" style="vertical-align: top;">TabbedPane.selectedTabPadInsets<br>
1072       </th>
1073       <td style="vertical-align: top;">Insets<br>
1074       </td>
1075       <td style="vertical-align: top;">Empty Insets (0, 0, 0, 0)<br>
1076       </td>
1077       <td style="vertical-align: top;">Extra insets added to the
1078 selected tab.<br>
1079       </td>
1080     </tr>
1081     <tr>
1082       <th scope="row" style="vertical-align: top;">TabbedPane.selectionFollowsFocus<br>
1083       </th>
1084       <td style="vertical-align: top;">Boolean<br>
1085       </td>
1086       <td style="vertical-align: top;">true<br>
1087       </td>
1088       <td style="vertical-align: top;">If true the selection of the
1089             tabbed pane changes as the user navigates the tabs with a
1090             mouse.<br>
1091       </td>
1092     </tr>
1093   </tbody>
1094 </table>
1095 <br>
1096 <h2><a id="JTable">JTable</a></h2>
1097 <p> JTable sets the name of the renderer to Table.cellRenderer.
1098 JTable supports the following properties: </p>
1099 <table border="1">
1100 <caption>JTable Specific Properties</caption>
1101   <thead><tr>
1102     <th scope="col">Property</th>
1103     <th scope="col">Expected Type</th>
1104     <th scope="col">Default Value</th>
1105     <th scope="col">Description </th>
1106   </tr>
1107   </thead> <tbody>
1108     <tr>
1109       <th scope="row">Table.gridColor</th>
1110       <td>Color</td>
1111       <td>null     </td>
1112       <td>Color used for the grid. If null the foreground from        the
1113 style is used.  </td>
1114     </tr>
1115     <tr>
1116       <th scope="row">Table.rendererUseTableColors</th>
1117       <td>Boolean</td>
1118       <td>true     </td>
1119       <td>If true the renderers state is not updated, and the         text
1120 colors come from JTable's getSelectionBackground and
1121 getSelectionForeground methods. If false, the renderer's            state is
1122 updated and the colors will instead come from the           Style.      </td>
1123     </tr>
1124     <tr>
1125       <th scope="row">Table.rendererUseUIBorder</th>
1126       <td>Boolean</td>
1127       <td>true     </td>
1128       <td>If true setBorder on the renderer will succeed
1129 regardless of the border passed in, otherwise setBorder on          the
1130 renderer will only succeed if it is a Synth Border.     </td>
1131     </tr>
1132     <tr>
1133       <th scope="row">Table.rowHeight</th>
1134       <td>Integer</td>
1135       <td>-1       </td>
1136       <td>If not -1 setRowHeight is invoked on the JTable. </td>
1137     </tr>
1138   </tbody>
1139 </table>
1140 <br>
1141 <h2><a id="JTree">JTree</a></h2>
1142 <p> JTree sets the name of the renderer to Tree.renderer, the name of
1143 the editor is Tree.cellEditor.</p>
1144 <table border="1">
1145 <caption>JTree Specific Properties</caption>
1146   <thead><tr>
1147     <th scope="col">Property</th>
1148     <th scope="col">Expected Type</th>
1149     <th scope="col">Default Value</th>
1150     <th scope="col">Description </th>
1151   </tr>
1152   </thead> <tbody>
1153     <tr>
1154       <th scope="row">Tree.collapsedIcon</th>
1155       <td>Icon</td>
1156       <td>null     </td>
1157       <td>Icon to use when a node is collapsed.   </td>
1158     </tr>
1159     <tr>
1160       <th scope="row">Tree.drawHorizontalLines</th>
1161       <td>Boolean</td>
1162       <td>true     </td>
1163       <td>If true nodes have a horizontal connecting them to the
1164 leading edge of their parent.   </td>
1165     </tr>
1166     <tr>
1167       <th scope="row">Tree.drawVerticalLines</th>
1168       <td>Boolean</td>
1169       <td>true     </td>
1170       <td>If true a vertical line is drawn down from expanded nodes.      </td>
1171     </tr>
1172     <tr>
1173       <th scope="row">Tree.expandedIcon</th>
1174       <td>Icon</td>
1175       <td>null     </td>
1176       <td>Icon to use when a node has been expanded.      </td>
1177     </tr>
1178     <tr>
1179       <th scope="row">Tree.leftChildIndent</th>
1180       <td>Integer</td>
1181       <td>0        </td>
1182       <td>This plus Tree.rightChildIndent account for the             total
1183 space, along the y axis, to offset nodes from their         parent.     </td>
1184     </tr>
1185     <tr>
1186       <th scope="row">Tree.rightChildIndent</th>
1187       <td>Integer</td>
1188       <td>0        </td>
1189       <td>This plus Tree.leftChildIndent account for the      total
1190 space, along the y axis, to offset nodes from their         parent.     </td>
1191     </tr>
1192     <tr>
1193       <th scope="row">Tree.rowHeight</th>
1194       <td>Integer</td>
1195       <td>-1       </td>
1196       <td>Row height for the Tree.</td>
1197     </tr>
1198     <tr>
1199       <th scope="row">Tree.scrollsHorizontallyAndVertically</th>
1200       <td>Boolean</td>
1201       <td>false    </td>
1202       <td>If false and scrolling needs to happen to accommodate    cells
1203 it will only happen along the vertical axis, if             true, scrolling
1204 may happen along both the horizontal and            vertical axis.      </td>
1205     </tr>
1206     <tr>
1207       <th scope="row">Tree.scrollsOnExpand</th>
1208       <td>Boolean</td>
1209       <td>true     </td>
1210       <td>Whether or not the JTree should scroll when a node is
1211 expanded. </td>
1212     </tr>
1213     <tr>
1214       <th scope="row">Tree.linesStyle</th>
1215       <td>String</td>
1216       <td>      </td>
1217       <td>The styles of the lines in the tree. Synth supports solid lines
1218 (empty value) and dashed lines ("dashed" value). It is possible to add new
1219 styles by creating a new <a href="../SynthGraphicsUtils.html">SynthGraphicsUtils</a>
1220 and <a href="synthFileFormat.html#e.graphicsUtils">binding it</a> to the tree.</td>
1221     </tr>
1222   </tbody>
1223 </table>
1224 <h2><a id="JToggleButton">JToggleButton</a></h2>
1225 <p> JToggleButton paints text using the TEXT_FOREGROUND ColorType. In
1226 addition to the <a href="#buttonProperties">Button        properties</a>,
1227 JToggleButton supports the following property: </p>
1228 <table border="1">
1229 <caption>JToggleButton Specific Properties</caption>
1230   <thead><tr>
1231     <th scope="col">Property</th>
1232     <th scope="col">Expected Type</th>
1233     <th scope="col">Default Value</th>
1234     <th scope="col">Description </th>
1235   </tr>
1236   </thead> <tbody>
1237         <tr>
1238       <th scope="row">ToggleButton.icon</th>
1239       <td>Icon</td>
1240       <td>null     </td>
1241       <td>Icon used to render the radio indicator. </td>
1242     </tr>
1243   </tbody>
1244 </table>
1245 <br>
1246 <h2><a id="buttonProperties">Button Properties</a></h2>
1247 <p> Each of the Button classes (JButton, JCheckBox, JRadioButton,
1248 JToggleButton and SynthArrowButton) support a similar set of properties.
1249 These properties are: </p>
1250 <table border="1">
1251 <caption>Button classes common properties</caption>
1252   <thead><tr>
1253     <th scope="col">Property</th>
1254     <th scope="col">Expected Type</th>
1255     <th scope="col">Default Value</th>
1256     <th scope="col">Description </th>
1257   </tr>
1258   </thead> <tbody>
1259         <tr>
1260       <th scope="row">prefix.contentAreaFilled</th>
1261       <td>Integer</td>
1262       <td>true     </td>
1263     <td>Refer to the javadoc of
1264       <code>javax.swing.AbstractButton#contentAreaFilled(boolean)</code>
1265       for details of how this is used. It is up to the Painter to properly honor
1266       this property.
1267     </td>
1268   </tr>
1269     <tr>
1270       <th scope="row">prefix.iconTextGap</th>
1271       <td>Integer</td>
1272       <td>If unspecified, JButton.setIconTextGap is not invoked.</td>
1273       <td>Padding between the icon and text. Refer to the javadoc of
1274         <code>javax.swing.AbstractButton#setIconTextGap(int)</code>
1275         for details of how this is used.
1276       </td>
1277     </tr>
1278     <tr>
1279       <th scope="row">prefix.margin</th>
1280       <td>Insets</td>
1281       <td>Empty Insets (0, 0, 0, 0)        </td>
1282       <td>Margin for the JButton. Refer to the javadoc of
1283         <code>javax.swing.AbstractButton#setMargin(java.awt.Insets)</code> for
1284         details of how the margin is used.
1285       </td>
1286     </tr>
1287     <tr>
1288       <th scope="row">prefix.textShiftOffset</th>
1289       <td>Integer</td>
1290       <td>0        </td>
1291       <td>Amount to shift the text and icon, along the x and y     axis,
1292 from where it would normally be layed out. This is          only used when
1293 the button is in a pressed state and does           not have a pressed icon. </td>
1294     </tr>
1295   </tbody>
1296 </table>
1297 <p> <code>Prefix</code> is one of: Button, CheckBox, RadioButton or
1298 JToggleButton.<br>
1299 </p>
1300 <h2><a id="textProperties"></a>Text Properties<br>
1301 </h2>
1302 <table cellpadding="2" cellspacing="2" border="1" style="text-align: left; width: 100%;">
1303   <thead><tr>
1304       <th scope="col" style="vertical-align: top; text-align: center;">Property</th>
1305       <th scope="col" style="vertical-align: top; text-align: center;">Expected Type<br>
1306       </th>
1307       <th scope="col" style="vertical-align: top; text-align: center;">Default Value<br>
1308       </th>
1309       <th scope="col" style="vertical-align: top; text-align: center;">Description<br>
1310       </th>
1311     </tr>
1312   </thead> <tbody>
1313     <tr>
1314       <th scope="row" style="vertical-align: top;">prefix.caretForeground<br>
1315       </th>
1316       <td style="vertical-align: top;">Color<br>
1317       </td>
1318       <td style="vertical-align: top;">#000000</td>
1319       <td style="vertical-align: top;">Color of the caret.<br>
1320       </td>
1321     </tr>
1322     <tr>
1323       <th scope="row" style="vertical-align: top;">prefix.margin<br>
1324       </th>
1325       <td style="vertical-align: top;">Insets</td>
1326       <td style="vertical-align: top;">Empty Insets (0, 0, 0, 0),<br>
1327 EditorPane and TextPane (3, 3, 3, 3)<br>
1328       </td>
1329       <td style="vertical-align: top;">Margins of the text component.<br>
1330       </td>
1331     </tr>
1332     <tr>
1333       <th scope="row" style="vertical-align: top;">prefix.caretBlinkRate<br>
1334       </th>
1335       <td style="vertical-align: top;">Integer<br>
1336       </td>
1337       <td style="vertical-align: top;">500<br>
1338       </td>
1339       <td style="vertical-align: top;">Number of milliseconds defining
1340 the blink rate fo the caret.<br>
1341       </td>
1342     </tr>
1343   </tbody>
1344 </table>
1345 <p><code>Prefix</code> is one of: EditorPane, FormattedTextField,
1346 PasswordField, TextArea, TextField or TextPane.<br>
1347 </p>
1348 </main>
1349 </body>
1350 </html>