Interface IconTextCheckBox
-
public interface IconTextCheckBox
Allows using an icon as well as a text on aJCheckBox
-
-
Method Summary
Static Methods Modifier and Type Method Description static javax.swing.JPanel
wrap(javax.swing.JCheckBox check, java.lang.String text, javax.swing.Icon icon)
Wraps the checkbox to display an icon as well as a text
-
-
-
Method Detail
-
wrap
static javax.swing.JPanel wrap(javax.swing.JCheckBox check, java.lang.String text, javax.swing.Icon icon)
Wraps the checkbox to display an icon as well as a text- Parameters:
check
- the checkboxtext
- the label text to displayicon
- the icon to display- Returns:
- a wrapping component
-
-