Sets a value that indicates whether the check box will have the appearance of a command button rather than the usual appearance of a check box.
public final void setAppearance( int value )
value
An integer that specifies the current appearance of the check box. Possible values are constants defined in the Appearance class. If the value is set to Appearance.NORMAL, the check box has the usual appearance of a check box. If the value is set to Appearance.BUTTON, the check box has the usual appearance of a command button. The default value is Appearance.NORMAL.
For a check box that looks like a command button, a pushed-in appearance is equivalent to being checked, a popped-up appearance is equivalent to being unchecked, and a shaded and pushed appearance is equivalent to being indeterminate.
See Also getAppearance