Class SelfDescribingCheckBox

All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants

public class SelfDescribingCheckBox extends JCheckBox
A checkbox whose text is either "True" or "False"
See Also:
  • Constructor Details

    • SelfDescribingCheckBox

      public SelfDescribingCheckBox(boolean selected)
    • SelfDescribingCheckBox

      public SelfDescribingCheckBox(boolean selected, String trueText, String falseText)
  • Method Details

    • setText

      public void setText(String trueText, String falseText)