Class BooleanOption

    • Constructor Detail

      • BooleanOption

        public BooleanOption(String title,
                             boolean state)
        Create a component that shows a checkbox with label in a boxlayout.
        Parameters:
        title - the label of the checkbox
        state - the initial state of the checkbox
    • Method Detail

      • getCheckBox

        public JCheckBox getCheckBox()
        Returns:
        the checkbox within the component