CheckBox
Swing component:
JCheckBox
Swing tutorial:
How to Use Check Boxes
Properties

For icon properties see: CheckBox Icon
Colors
UI Key |
Style Key since v2 |
Description |
CheckBox.foreground |
foreground |
text color if enabled |
CheckBox.disabledText |
disabledText |
text color if disabled |
CheckBox.background |
background |
background color if opaque |
Sizes
UI Key |
Style Key since v2 |
Type |
Description |
CheckBox.margin |
margin |
Insets |
margin space between the component bounds and icon/text |
CheckBox.iconTextGap |
iconTextGap |
int |
gap between icon and text |
Other
UI Key |
Style Key since v2 |
Type |
Description |
CheckBox.font |
font |
Font |
font used to render text |
CheckBox.border |
border |
Border |
usually a FlatMarginBorder |
CheckBox.icon |
icon |
Icon |
usually a FlatCheckBoxIcon |