aboutsummaryrefslogtreecommitdiff
path: root/src/share/classes/javax/swing/plaf/synth/doc-files/componentProperties.html
blob: aa0145cfce27a627190493b3b6b353b9953c1f73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!--
Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.  Oracle designates this
particular file as subject to the "Classpath" exception as provided
by Oracle in the LICENSE file that accompanied this code.

This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).

You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.

-->
</head>
<body bgcolor="white">
<h3>Component Specific Properties</h3>
<p> The look, and to some degree the feel of Synth
can be customized by way of component specific properties.
These properties are accessed from <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>
    <p>
      This file specifies the expected class type each of the values
      are to take. The behavior of supplying the wrong type is
      unspecified: typically a <code>ClassCastException</code> is
      thrown, but it is implementation specific.
    </p>
<h4>ArrowButton</h4>
<p> ArrowButton is a special type of JButton that renders an arrow.
ArrowButton is typically not created directly, rather some of the
Components will create it       to render a button with an arrow. The
      components that make       use of ArrowButton       are:
JComboBox, JScrollBar and JSplitPane (for the buttons on the divider).
In       addition to the <a
 href="#buttonProperties">Button 	properties</a>, ArrowButton supports
the following propeties: </p>
<h5>ArrowButton Specific Properties</h5>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
    <tr>
      <td>ArrowButton.size</td>
      <td>Integer</td>
      <td>16 	 </td>
      <td>Preferred size of the arrow button. </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JButton">JButton</a></h4>
<p> JButton paints text using the TEXT_FOREGROUND ColorType. In addition
to the <a href="#buttonProperties">Button 	properties</a>, JButton
supports the following property: </p>
<h5>JButton Specific Properties</h5>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
	<tr>
      <td>Button.defaultButtonFollowsFocus</td>
      <td>Boolean</td>
      <td>true 	 </td>
      <td>Whether or not the 	    default JButton should change to the
button that is 	    receiving focus. </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JCheckBox">JCheckBox</a></h4>
<p> JCheckBox paints text using the TEXT_FOREGROUND ColorType. In
addition to the <a href="#buttonProperties">Button 	properties</a>,
JCheckBox supports the following property: </p>
<h5>JCheckBox Specific Properties</h5>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
	<tr>
      <td>CheckBox.icon</td>
      <td>Icon</td>
      <td>null 	 </td>
      <td>Icon used to render the check. </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JComboBox">JComboBox</a></h4>
<p> JComboBox is a composite component that consists of the following
child Components: </p>
<table border="1">
  <thead><tr>
    <th>Name</th>
    <th>Type</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
	<tr>
      <td>ComboBox.arrowButton</td>
      <td>SynthArrowButton 	 </td>
      <td>Renders the drop down indicator. 	</td>
    </tr>
    <tr>
      <td>ComboBox.list</td>
      <td>JList 	 </td>
      <td>JList used to render the values. 	</td>
    </tr>
    <tr>
      <td>ComboBox.listRenderer</td>
      <td>Component 	 </td>
      <td>The renderer used for the JComboBox's JList. 	</td>
    </tr>
    <tr>
      <td>ComboBox.popup</td>
      <td>JPopupMenu 	 </td>
      <td>JPopupMenu used to show the ComboBox.list of the JComboBox. 	</td>
    </tr>
    <tr>
      <td>ComboBox.renderer</td>
      <td>Component 	 </td>
      <td>The renderer used for the JComboBox. This is ONLY set if 	
the renderer is a UIResource. 	</td>
    </tr>
    <tr>
      <td>ComboBox.scrollPane</td>
      <td>JScrollPane 	 </td>
      <td>JScrollPane containing the JList. 	</td>
    </tr>
    <tr>
      <td>ComboBox.textField</td>
      <td>JTextField 	 </td>
      <td>The editor. </td>
    </tr>
  </tbody>
</table>
<p> </p>
<h5>JComboBox Specific Properties</h5>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
    <tr>
      <td>ComboBox.showPopupOnNavigation</td>
      <td>Boolean</td>
      <td>false 	 </td>
      <td>Whether or not the JPopupMenu should appear when 	 navigating
with the keyboard. </td>
    </tr>
  </tbody>
</table>
<br>
<h4>JFileChooser</h4>
<h5>JFileChooser Specific Properties</h5>
<table cellpadding="2" cellspacing="2" border="1"
 style="width: 100%; text-align: left;">
  <tbody>
    <tr>
      <th style="vertical-align: top; text-align: center;">Property</th>
      <th style="vertical-align: top; text-align: center;">Expected Type<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Default Value<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Description</th>
    </tr>
    <tr>
      <td style="vertical-align: top;">FileChooser.cancelIcon<br>
      </td>
      <td style="vertical-align: top;">Icon<br>
      </td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon displayed on cancel button
of the file chooser.<br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">FileChooser.okIcon<br>
      </td>
      <td style="vertical-align: top;">Icon<br>
      </td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon displayed on the ok button
of the file chooser.<br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">FileView.directoryIcon<br>
      </td>
      <td style="vertical-align: top;">Icon<br>
      </td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon used for directories.
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">FileView.fileIcon<br>
      </td>
      <td style="vertical-align: top;">Icon<br>
      </td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon used for files.
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">FileView.computerIcon<br>
      </td>
      <td style="vertical-align: top;">Icon<br>
      </td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon used for directories that
            represent the computer.  Not all platforms will make use
            of this icon.
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">FileView.hardDriveIcon<br>
      </td>
      <td style="vertical-align: top;">Icon<br>
      </td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon used to represent the root
            of a hard drive.  For example, on Windows this would be
            used when viewing the C drive.
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">FileView.floppyDriveIcon<br>
      </td>
      <td style="vertical-align: top;">Icon<br>
      </td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon used to represent a floppy
          disk.
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">FileChooser.newFolderIcon<br>
      </td>
      <td style="vertical-align: top;">Icon<br>
      </td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon used by the button that creates a new
          folder.
      </td>
    </tr>          
    <tr>
      <td style="vertical-align: top;">FileChooser.upFolderIcon<br>
      </td>
      <td style="vertical-align: top;">Icon<br>
      </td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon used by the button that navigates to the
          parent folder.
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">FileChooser.homeFolderIcon<br>
      </td>
      <td style="vertical-align: top;">Icon<br>
      </td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon used by the button that navigates to the
          current user's home directory.
      </td>
    </tr>          
    <tr>
      <td style="vertical-align: top;">FileChooser.detailsViewIcon<br>
      </td>
      <td style="vertical-align: top;">Icon<br>
      </td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon used by the button that toggles the
          detailed files list view.
      </td>
    </tr>             
    <tr>
      <td style="vertical-align: top;">FileChooser.listViewIcon<br>
      </td>
      <td style="vertical-align: top;">Icon<br>
      </td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon used by the button that toggles the
          regular files list view, showing only an icon and the name of each
          file and directory.
      </td>
    </tr>          
    <tr>
      <td style="vertical-align: top;">FileChooser.viewMenuIcon<br>
      </td>
      <td style="vertical-align: top;">Icon<br>
      </td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon used by the button that shows popup menu
          for selection of a view mode.
      </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JInternalFrame"></a>JInternalFrame</h4>
<h5>JInternalFrame Specific Properties</h5>
<table cellpadding="2" cellspacing="2" border="1"
 style="text-align: left; width: 100%;">
  <tbody>
    <tr>
      <th style="vertical-align: top; text-align: center;">Property<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Expected Type<br>
      </th>
      <th style="vertical-align: top; text-align: center;">DefaultValue<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Description<br>
      </th>
    </tr>
    <tr>
      <td style="vertical-align: top;">InternalFrame.icon<br>
      </td>
      <td style="vertical-align: top;">Icon</td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon drawn representing the
system<br>
icon of the internal frame.&nbsp; If pressed<br>
the system menu will be shown.<br>
      </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JInternalFrameTitlePane"></a>JInternalFrameTitlePane</h4>
<p>JInternalFrameTitlePane is the control bar located at the top of the
internal frame similar to that found in a frame.<br>
</p>
<h5>JInternalFrameTitlePane Specific Properties</h5>
<table cellpadding="2" cellspacing="2" border="1"
 style="text-align: left; width: 100%;">
  <tbody>
    <tr>
      <th style="vertical-align: top; text-align: center;">Property<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Expected Type<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Default Value<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Description<br>
      </th>
    </tr>
    <tr>
      <td style="vertical-align: top;">InternalFrameTitlePane.maximizeIcon<br>
      </td>
      <td style="vertical-align: top;">Icon</td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon drawn to indicate the
ability to maximize the internal frame.<br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">InternalFrameTitlePane.minimizeIcon<br>
      </td>
      <td style="vertical-align: top;">Icon</td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon drawn to indicate the
ability to restore the internal frame back to its previous state.<br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">InternalFrameTitlePane.iconifyIcon<br>
      </td>
      <td style="vertical-align: top;">Icon</td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon drawn to indicate the
ability to minimize the internal frame.<br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">InternalFrameTitlePane.closeIcon<br>
      </td>
      <td style="vertical-align: top;">Icon</td>
      <td style="vertical-align: top;">null<br>
      </td>
      <td style="vertical-align: top;">Icon drawn to indicate the
abililty to close the internal frame.
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">InternalFrameTitlePane.titleSpacing<br>
      </td>
      <td style="vertical-align: top;">Integer</td>
      <td style="vertical-align: top;">2</td>
      <td style="vertical-align: top;">Space between the
	    buttons on the title pane and the title.
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">InternalFrameTitlePane.buttonSpacing<br>
      </td>
      <td style="vertical-align: top;">Integer</td>
      <td style="vertical-align: top;">2</td>
      <td style="vertical-align: top;">Space between the buttons on
	    the title pane.
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">InternalFrameTitlePane.maxFrameIconSize<br>
      </td>
      <td style="vertical-align: top;">Dimension</td>
      <td style="vertical-align: top;">16x16</td>
      <td style="vertical-align: top;">Maximum size of the frame
	    icon that will be rendered on the title pane.  If the icon
	    is bigger than this size, it will be scaled down.
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">InternalFrameTitlePane.titleAlignment<br>
      </td>
      <td style="vertical-align: top;">leading|trailing|center</td>
      <td style="vertical-align: top;">leading</td>
      <td style="vertical-align: top;">Alignment for the title.
	    With a left to right component orientation leading is left
	    and trailing right.  With a right to left component
	    orientation leading is right and trailing left.
      </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JList">JList</a></h4>
<p> JList's sets the name of the renderer to List.renderer.       JList
supports the following properties: </p>
<h5>JList Specific Properties</h5>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
    <tr>
      <td>List.rendererUseListColors</td>
      <td>Boolean</td>
      <td>true 	 </td>
      <td>If true the renderers state is not updated, and the 	    text
colors come from JList's getSelectionBackground and 	
getSelectionForeground methods. If false, the renderer's 	    state is
updated and the colors will instead come from the 	    Style. 	</td>
    </tr>
    <tr>
      <td>List.rendererUseUIBorder</td>
      <td>Boolean</td>
      <td>true 	 </td>
      <td>If true setBorder on the renderer will succeed 	 regardless
of the border passed in, otherwise setBorder on 	    the renderer will
only succeed if it is a Synth Border. 	</td>
    </tr>
    <tr>
      <td>List.cellHeight</td>
      <td>Integer</td>
      <td>-1 	 </td>
      <td>Cell height of the JList. Is this is -1, 	 <code>setFixedCellHeight</code>
is not invoked. </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="menuProperties">Menu Properties</a></h4>
<p> The Menu classes (JCheckBoxMenuItem, JMenu, JMenuItem, and
JRadioButtonMenuItem) all support the same set of properties and behave
similarly.       Each component consists of two Regions: the region
specific to the       component and Region.MENU_ITEM_ACCELERATOR.
MENU_ITEM_ACCELERATOR is used for painting the accelerator. Both Regions
paint text using the TEXT_FOREGROUND ColorType. The following set of
properties are supported: </p>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
	<tr>
      <td>prefix.acceleratorDelimiter</td>
      <td>String</td>
      <td>+ 	 </td>
      <td>String separator between the description of the 	 modifiers
and the key, for example <code>Ctrl 	 &lt;acceleratorDelimiter&gt; X</code>.
	</td>
    </tr>
    <tr>
      <td>prefix.arrowIcon</td>
      <td>Icon</td>
      <td>null 	 </td>
      <td>Icon drawn to the right of the text (or left when the 	
ComponentOrientation is right to left) of the text. This 	    is
typically only defined for JMenu. 	</td>
    </tr>
    <tr>
      <td>prefix.checkIcon</td>
      <td>Icon</td>
      <td>null 	 </td>
      <td>Icon drawn to the left of the text (or right when the 	
ComponentOrientation is right to left) of the text. This 	    is
typically only defined for JCheckBoxMenuItem and 	 JRadioButtonMenuItem
to provide the check or radio button. 	</td>
    </tr>
    <tr>
      <td>prefix.margin</td>
      <td>Insets</td>
      <td>Empty Insets (0, 0, 0, 0) 	 </td>
      <td>Margin for the JMenuItem. Refer to the javadoc of
	    <code>javax.swing.AbstractButton#setMargin(java.awt.Insets)</code> for details
of how the margin is used. 	</td>
    </tr>
    <tr>
      <td>prefix.textIconGap</td>
      <td>Integer</td>
      <td>4 	 </td>
      <td>Padding between the icon and text. Refer to the javadoc for 
<code>javax.swing.AbstractButton#setIconTextGap(int)</code> for details of how
this is used. </td>
    </tr>
  </tbody>
</table>
<p> <code>Prefix</code> is one of: CheckBoxMenuItem, Menu, MenuItem, or
RadioButtonMenuItem. </p>
<p> JMenu also supports the following properties: </p>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
	<tr>
      <td>Menu.delay</td>
      <td>Integer</td>
      <td>200 	 </td>
      <td>Sets the delay before the menu appears. 	</td>
    </tr>
    <tr>
      <td>Menu.shortcutKeys</td>
      <td>int[]</td>
      <td>KeyEvent.ALT_MASK 	 </td>
      <td>Array of the KeyEvent modifiers to use for shortcut keys. </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JOptionPane">JOptionPane</a></h4>
<p> JOptionPane is a composite component and may consist of numerous child
components, they are: OptionPane.button, OptionPane.label,
OptionPane.comboBox, OptionPane.scrollPane, OptionPane.list,
OptionPane.textField, OptionPane.iconLabel. </p>
<h5>JOptionPane Specific Properties</h5>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
	<tr>
      <td>OptionPane.buttonAreaBorder</td>
      <td>Border 	 </td>
      <td>null 	 </td>
      <td>Border around the button area. 	</td>
    </tr>
    <tr>
      <td>OptionPane.buttonClickThreshhold</td>
      <td>Integer 	 </td>
      <td>0 	 </td>
      <td>Passed to the created buttons setMultiClickThreshhold. 	</td>
    </tr>
    <tr>
      <td>OptionPane.buttonOrientation</td>
      <td>Integer 	 </td>
      <td>SwingConstants.CENTER 	 </td>
      <td>How the buttons should be layed out, one of 	
SwingConstants.LEFT, SwingConstants.RIGHT or 	    SwingConstants.CENTER
(this will be flipped when in a 	    right to left locale). 	</td>
    </tr>
    <tr>
      <td>OptionPane.buttonPadding</td>
      <td>Integer 	 </td>
      <td>6 	 </td>
      <td>Amount of space between buttons. 	</td>
    </tr>
    <tr>
      <td>OptionPane.cancelIcon</td>
      <td>Icon 	 </td>
      <td>null 	 </td>
      <td>Icon for the cancel button. 	</td>
    </tr>
    <tr>
      <td>OptionPane.errorIcon</td>
      <td>Icon 	 </td>
      <td>null 	 </td>
      <td>Icon used for ERROR_MESSAGE. 	</td>
    </tr>
    <tr>
      <td>OptionPane.informationIcon</td>
      <td>Icon 	 </td>
      <td>null 	 </td>
      <td>Icon used for INFORMATION_MESSAGE. 	</td>
    </tr>
    <tr>
      <td>OptionPane.isYesLast</td>
      <td>Boolean 	 </td>
      <td>false 	 </td>
      <td>If true the 'yes' button leads other buttons, 	    otherwise
it follows the other buttons. 	</td>
    </tr>
    <tr>
      <td>OptionPane.questionIcon</td>
      <td>Icon 	 </td>
      <td>null 	 </td>
      <td>Icon used for error QUESTION_MESSAGE. 	</td>
    </tr>
    <tr>
      <td>OptionPane.minimumSize</td>
      <td>Dimension 	 </td>
      <td>262x90</td>
      <td>Minimum size for the JOptionPane. 	</td>
    </tr>
    <tr>
      <td>OptionPane.noIcon</td>
      <td>Icon 	 </td>
      <td>null 	 </td>
      <td>Icon for the no button. 	</td>
    </tr>
    <tr>
      <td>OptionPane.okIcon</td>
      <td>Icon 	 </td>
      <td>null 	 </td>
      <td>Icon for the ok button. 	</td>
    </tr>
    <tr>
      <td>OptionPane.sameSizeButtons</td>
      <td>Boolean 	 </td>
      <td>true 	 </td>
      <td>Whether or not all the buttons should be the same size. 	</td>
    </tr>
    <tr>
      <td>OptionPane.separatorPadding</td>
      <td>Integer 	 </td>
      <td>6</td>
      <td>Amount of padding between the message area and 	 separator. 	</td>
    </tr>
    <tr>
      <td>OptionPane.yesIcon</td>
      <td>Icon 	 </td>
      <td>null 	 </td>
      <td>Icon for the yes button. 	</td>
    </tr>
    <tr>
      <td>OptionPane.warningIcon</td>
      <td>Icon 	 </td>
      <td>null 	 </td>
      <td>Icon used for error WARNING_MESSAGE 	</td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JProgressBar"></a>JProgressBar<br>
</h4>
<h5>JProgressBar Specific Properties<br>
</h5>
<table cellpadding="2" cellspacing="2" border="1"
 style="text-align: left; width: 100%;">
  <tbody>
    <tr>
      <th style="vertical-align: top; text-align: center;">Property</th>
      <th style="vertical-align: top; text-align: center;">Expected Type<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Default Value<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Description</th>
    </tr>
    <tr>
      <td style="vertical-align: top;">ProgressBar.repaintInterval<br>
      </td>
      <td style="vertical-align: top;">Integer<br>
      </td>
      <td style="vertical-align: top;">50<br>
      </td>
      <td style="vertical-align: top;">Number of milliseconds between
repaints for indeterminate progress bars.<br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">ProgressBar.cycleTime<br>
      </td>
      <td style="vertical-align: top;">Integer<br>
      </td>
      <td style="vertical-align: top;">3000<br>
      </td>
      <td style="vertical-align: top;">Number of milliseconds used to
determine how far to move<br>
the bouncing box per frame when the progress bar is indeterminate.<br>
      </td>
    </tr>
  </tbody>
</table>
<h4><a name="JRadioButton">JRadioButton</a></h4>
<p> JRadioButton paints text using the TEXT_FOREGROUND ColorType. In
addition to the <a href="#buttonProperties">Button 	properties</a>,
JRadioButton supports the following property: </p>
<h5>JRadioButton Specific Properties</h5>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
	<tr>
      <td>RadioButton.icon</td>
      <td>Icon</td>
      <td>null 	 </td>
      <td>Icon used to render the radio indicator. </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JScrollBar">JScrollBar</a></h4>
<p> JScrollBar is a composite component that consists of the following
child Components: </p>
<table border="1">
  <thead><tr>
    <th>Name</th>
    <th>Type</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
	<tr>
      <td>ScrollBar.button</td>
      <td>SynthArrowButton 	 </td>
      <td>Identifies the increment/decrement buttons. </td>
    </tr>
  </tbody>
</table>
<p> </p>
<h5>JScrollBar Specific Properties</h5>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
	<tr>
      <td>ScrollBar.allowsAbsolutePositioning</td>
      <td>Boolean 	 </td>
      <td>false</td>
      <td>If true, middle mouse click in the track will 	    set the
position of the track to where the mouse is. 	</td>
    </tr>
    <tr>
      <td>ScrollBar.maximumThumbSize</td>
      <td>Dimension</td>
      <td>4096x4096 	 </td>
      <td>Maximum thumb size. 	</td>
    </tr>
    <tr>
      <td>ScrollBar.minimumThumbSize</td>
      <td>Dimension</td>
      <td>Derived from ScrollBar.thumbHeight</td>
      <td>The minimum thumb size.  If this is not specified the
	    minimum thumb size is ScrollBar.thumbHeight plus the insets
	    of the scrollbar along the opposite axis of the scrollbar
	    and 7 along the other axis.  For example, if you have not
	    specified Insets for a scrollbar, and the orientation of
	    the scrollbar is vertical, than the minimum thumb
	    size width is ScrollBar.thumbHeight with a height of 7.</td>
    </tr>
    <tr>
      <td>ScrollBar.squareButtons</td>
      <td>Boolean 	 </td>
      <td>false</td>
      <td>If true, the width and height of the scrollbar 	    buttons
will be made equal. 	</td>
    </tr>
    <tr>
      <td>ScrollBar.thumbHeight</td>
      <td>Integer</td>
      <td>14 	 </td>
      <td>The preferred height, when the orientation of the
	    scrollbar is horizontal, or preferred width when the
	    orientation of the scrollbar is vertical.</td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="Separator">Separators</a></h4>
<p> All of the separator classes, JSeparator, JPopupMenu.Separator and
JToolBar.Separator use the same property: </p>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
	<tr>
      <td>Separator.thickness</td>
      <td>Integer</td>
      <td>2 	 </td>
      <td>Preferred width, for vertically aligned separators, or 	
preferred height for horizontally aligned separators. The 	 resulting
preferred size will include the Insets. </td>
    </tr>
  </tbody>
</table>
<p> JToolBar.Separator also supports the following property: </p>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
	<tr>
      <td>ToolBar.separatorSize</td>
      <td>Dimension</td>
      <td>null 	 </td>
      <td>The value of this is passed to the <code>javax.swing.JToolBar$Separator#setSeparatorSize(java.awt.Dimension)</code>
method. If unspecified <code>setSeparatorSize</code> is 	    not
invoked. </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JScrollPane">JScrollPane</a></h4>
<p> 
      JScrollPane is unique in that it provides a method for setting
      the Border around the JViewport with JViewport throwing an
      IllegalArgumentException from <code>setBorder</code>. To
      accomodate this a special border is installed on the
      <code>JScrollPane</code> that uses the 
      insets from the key
      <code>ScrollPane.viewportBorderInsets</code>. The
      <code>SynthPainter</code> method
      <code>paintViewportBorder</code> is called to paint the
      <code>Viewport</code>s border.
 </p>
<h5>JScrollPane Specific Properties</h5>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
    <tr>
      <td>ScrollPane.viewportBorderInsets</td>
      <td>Insets</td>
      <td>null 	 </td>
      <td>Insets for the viewport Border. 	</td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JSplitPane">JSplitPane</a></h4>
<p> JSplitPane is a composite component that will contain a divider and
potentially two buttons, if setOneTouchExpandable(true) has been
invoked. The two buttons will be named:
SplitPaneDivider.leftOneTouchButton and
SplitPaneDivider.rightOneTouchButton. </p>
<h5>JSplitPane Specific Properties</h5>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
    <tr>
      <td>SplitPane.centerOneTouchButtons</td>
      <td>Boolean</td>
      <td>true 	 </td>
      <td>If true, the one touch buttons are centered on the divider. 	</td>
    </tr>
    <tr>
      <td>SplitPane.oneTouchButtonOffset</td>
      <td>Integer</td>
      <td>2 	 </td>
      <td>Distance between the one touch buttons. 	</td>
    </tr>
    <tr>
      <td>SplitPane.oneTouchButtonSize</td>
      <td>Integer</td>
      <td>6 	 </td>
      <td>Size to make the one touch buttons. 	</td>
    </tr>
    <tr>
      <td>SplitPane.oneTouchExpandable</td>
      <td>Boolean</td>
      <td>null 	 </td>
      <td>If non null, the value of this is passed to 	
setOneTouchExpandable. 	</td>
    </tr>
    <tr>
      <td>SplitPane.size</td>
      <td>Integer</td>
      <td>6 	 </td>
      <td>Size of the divider </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JSlider"></a>JSlider</h4>
<h5>JSlider Specific Properties</h5>
<table cellpadding="2" cellspacing="2" border="1"
 style="text-align: left; width: 100%;">
  <tbody>
    <tr>
      <th style="vertical-align: top; text-align: center;">Property<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Expected Type<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Default Value<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Description<br>
      </th>
    </tr>
    <tr>
      <td style="vertical-align: top;">Slider.thumbWidth<br>
      </td>
      <td style="vertical-align: top;">Integer<br>
      </td>
      <td style="vertical-align: top;">30<br>
      </td>
      <td style="vertical-align: top;">Width of the slider thumb<br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">Slider.thumbHeight<br>
      </td>
      <td style="vertical-align: top;">Integer<br>
      </td>
      <td style="vertical-align: top;">14<br>
      </td>
      <td style="vertical-align: top;">Height of the slider thumb<br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">Slider.trackBorder<br>
      </td>
      <td style="vertical-align: top;">Integer<br>
      </td>
      <td style="vertical-align: top;">1<br>
      </td>
      <td style="vertical-align: top;">Width of the track border<br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">Slider.paintValue<br>
      </td>
      <td style="vertical-align: top;">Boolean<br>
      </td>
      <td style="vertical-align: top;">true<br>
      </td>
      <td style="vertical-align: top;">Whether or not to paint the
current value<br>
of the slider.<br>
      </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JTabbedPane"></a>JTabbedPane</h4>
<h5>JTabbedPane Specific Properties</h5>
<table cellpadding="2" cellspacing="2" border="1"
 style="text-align: left; width: 100%;">
  <tbody>
    <tr>
      <th style="vertical-align: top; text-align: center;">Property</th>
      <th style="vertical-align: top; text-align: center;">Expected Type<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Default Value<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Description</th>
    </tr>
    <tr>
      <td style="vertical-align: top;">TabbedPane.tabRunOverlay<br>
      </td>
      <td style="vertical-align: top;">Integer<br>
      </td>
      <td style="vertical-align: top;">0<br>
      </td>
      <td style="vertical-align: top;">Number of pixels to overlap
	    tabs when there is more than one row.  <br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">TabbedPane.textIconGap<br>
      </td>
      <td style="vertical-align: top;">Integer<br>
      </td>
      <td style="vertical-align: top;">0<br>
      </td>
      <td style="vertical-align: top;">Padding added between the icon
	    and text on a tab.  If there is no text or icon this value
	    is not used.
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">TabbedPane.selectedTabPadInsets<br>
      </td>
      <td style="vertical-align: top;">Insets<br>
      </td>
      <td style="vertical-align: top;">Empty Insets (0, 0, 0, 0)<br>
      </td>
      <td style="vertical-align: top;">Extra insets added to the
selected tab.<br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">TabbedPane.selectionFollowsFocus<br>
      </td>
      <td style="vertical-align: top;">Boolean<br>
      </td>
      <td style="vertical-align: top;">true<br>
      </td>
      <td style="vertical-align: top;">If true the selection of the
	    tabbed pane changes as the user navigates the tabs with a
	    mouse.<br>
      </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JTable">JTable</a></h4>
<p> JTable sets the name of the renderer to Table.cellRenderer.      
JTable supports the following properties: </p>
<h5>JTable Specific Properties</h5>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
    <tr>
      <td>Table.gridColor</td>
      <td>Color</td>
      <td>null 	 </td>
      <td>Color used for the grid. If null the foreground from 	    the
style is used. 	</td>
    </tr>
    <tr>
      <td>Table.rendererUseTableColors</td>
      <td>Boolean</td>
      <td>true 	 </td>
      <td>If true the renderers state is not updated, and the 	    text
colors come from JTable's getSelectionBackground and 	   
getSelectionForeground methods. If false, the renderer's 	    state is
updated and the colors will instead come from the 	    Style. 	</td>
    </tr>
    <tr>
      <td>Table.rendererUseUIBorder</td>
      <td>Boolean</td>
      <td>true 	 </td>
      <td>If true setBorder on the renderer will succeed 	   
regardless of the border passed in, otherwise setBorder on 	    the
renderer will only succeed if it is a Synth Border. 	</td>
    </tr>
    <tr>
      <td>Table.rowHeight</td>
      <td>Integer</td>
      <td>-1 	 </td>
      <td>If not -1 setRowHeight is invoked on the JTable. </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="JTree">JTree</a></h4>
<p> JTree sets the name of the renderer to Tree.renderer, the name of
the editor is Tree.cellEditor.</p>
<h5>JTree Specific Properties</h5>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
    <tr>
      <td>Tree.collapsedIcon</td>
      <td>Icon</td>
      <td>null 	 </td>
      <td>Icon to use when a node is collapsed. 	</td>
    </tr>
    <tr>
      <td>Tree.drawHorizontalLines</td>
      <td>Boolean</td>
      <td>true 	 </td>
      <td>If true nodes have a horizontal connecting them to the 	
leading edge of their parent. 	</td>
    </tr>
    <tr>
      <td>Tree.drawVerticalLines</td>
      <td>Boolean</td>
      <td>true 	 </td>
      <td>If true a vertical line is drawn down from expanded nodes. 	</td>
    </tr>
    <tr>
      <td>Tree.expandedIcon</td>
      <td>Icon</td>
      <td>null 	 </td>
      <td>Icon to use when a node has been expanded. 	</td>
    </tr>
    <tr>
      <td>Tree.leftChildIndent</td>
      <td>Integer</td>
      <td>0 	 </td>
      <td>This plus Tree.rightChildIndent account for the 	    total
space, along the y axis, to offset nodes from their 	    parent. 	</td>
    </tr>
    <tr>
      <td>Tree.rightChildIndent</td>
      <td>Integer</td>
      <td>0 	 </td>
      <td>This plus Tree.leftChildIndent account for the 	    total
space, along the y axis, to offset nodes from their 	    parent. 	</td>
    </tr>
    <tr>
      <td>Tree.rowHeight</td>
      <td>Integer</td>
      <td>-1 	 </td>
      <td>Row height for the Tree.</td>
    </tr>
    <tr>
      <td>Tree.scrollsHorizontallyAndVertically</td>
      <td>Boolean</td>
      <td>false 	 </td>
      <td>If false and scrolling needs to happen to accomodate 	 cells
it will only happen along the vertical axis, if 	    true, scrolling
may happen along both the horizontal and 	    vertical axis. 	</td>
    </tr>
    <tr>
      <td>Tree.scrollsOnExpand</td>
      <td>Boolean</td>
      <td>true 	 </td>
      <td>Whether or not the JTree should scroll when a node is 	
expanded. </td>
    </tr>
    <tr>
      <td>Tree.linesStyle</td>
      <td>String</td>
      <td>      </td>
      <td>The styles of the lines in the tree. Synth supports solid lines
(empty value) and dashed lines ("dashed" value). It is possible to add new
styles by creating a new <a href="../SynthGraphicsUtils.html">SynthGraphicsUtils</a>
and <a href="synthFileFormat.html#e.graphicsUtils">binding it</a> to the tree.</td>
    </tr>
  </tbody>
</table>
<h4><a name="JToggleButton">JToggleButton</a></h4>
<p> JToggleButton paints text using the TEXT_FOREGROUND ColorType. In
addition to the <a href="#buttonProperties">Button 	properties</a>,
JToggleButton supports the following property: </p>
<h5>JToggleButton Specific Properties</h5>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
	<tr>
      <td>ToggleButton.icon</td>
      <td>Icon</td>
      <td>null 	 </td>
      <td>Icon used to render the radio indicator. </td>
    </tr>
  </tbody>
</table>
<br>
<h4><a name="buttonProperties">Button Properties</a></h4>
<p> Each of the Button classes (JButton, JCheckBox, JRadioButton,
JToggleButton and SynthArrowButton) support a similar set of properties.
These properties are: </p>
<table border="1">
  <thead><tr>
    <th>Property</th>
    <th>Expected Type</th>
    <th>Default Value</th>
    <th>Description </th>
  </tr>
  </thead> <tbody>
	<tr>
      <td>prefix.contentAreaFilled</td>
      <td>Integer</td>
      <td>true 	 </td>
      <td>Refer to the javadoc of <code>javax.swing.AbstractButton#contentAreaFilled(boolean)</code> 	    for details
of how this is used. It is up to the Painter 	    to properly honor this
property. 	</td>
    </tr>
    <tr>
      <td>prefix.iconTextGap</td>
      <td>Integer</td>
      <td>If 	    unspecified, JButton.setIconTextGap is not invoked. 	</td>
      <td>Padding between the icon and text. Refer to the javadoc of <code>javax.swing.AbstractButton#setIconTextGap(int)</code> 	    for details of how
this is used. 	</td>
    </tr>
    <tr>
      <td>prefix.margin</td>
      <td>Insets</td>
      <td>Empty Insets (0, 0, 0, 0) 	 </td>
      <td>Margin for the JButton. Refer to the javadoc of <code>javax.swing.AbstractButton#setMargin(java.awt.Insets)</code> 	    for details
of how the margin is used. 	</td>
    </tr>
    <tr>
      <td>prefix.textShiftOffset</td>
      <td>Integer</td>
      <td>0 	 </td>
      <td>Amount to shift the text and icon, along the x and y 	 axis,
from where it would normally be layed out. This is 	    only used when
the button is in a pressed state and does 	    not have a pressed icon. </td>
    </tr>
  </tbody>
</table>
<p> <code>Prefix</code> is one of: Button, CheckBox, RadioButton or
JToggleButton.<br>
</p>
<h4><a name="textProperties"></a>Text Properties<br>
</h4>
<table cellpadding="2" cellspacing="2" border="1"
 style="text-align: left; width: 100%;">
  <tbody>
    <tr>
      <th style="vertical-align: top; text-align: center;">Property</th>
      <th style="vertical-align: top; text-align: center;">Expected Type<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Default Value<br>
      </th>
      <th style="vertical-align: top; text-align: center;">Description<br>
      </th>
    </tr>
    <tr>
      <td style="vertical-align: top;">prefix.caretForeground<br>
      </td>
      <td style="vertical-align: top;">Color<br>
      </td>
      <td style="vertical-align: top;">#000000</td>
      <td style="vertical-align: top;">Color of the caret.<br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">prefix.margin<br>
      </td>
      <td style="vertical-align: top;">Insets</td>
      <td style="vertical-align: top;">Empty Insets (0, 0, 0, 0),<br>
EditorPane and TextPane (3, 3, 3, 3)<br>
      </td>
      <td style="vertical-align: top;">Margins of the text component.<br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">prefix.caretBlinkRate<br>
      </td>
      <td style="vertical-align: top;">Integer<br>
      </td>
      <td style="vertical-align: top;">500<br>
      </td>
      <td style="vertical-align: top;">Number of milliseconds defining
the blink rate fo the caret.<br>
      </td>
    </tr>
  </tbody>
</table>
<p><code>Prefix</code> is one of: EditorPane, FormattedTextField,
PasswordField, TextArea, TextField or TextPane.<br>
</p>
</body>
</html>