ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java
public Field.CheckBox addCheckBoxField(String fldName, String label, boolean defValue) {
    Field.CheckBox fld = new Field.CheckBox(fldName, label, defValue, storeData);
    addField( fld);
    return fld;
  }
public Field.CheckBox addCheckBoxField(String fldName, String label, boolean defValue) {
    Field.CheckBox fld = new Field.CheckBox(fldName, label, defValue, storeData);
    addField( fld);
    return fld;
  }
Add a boolean field as a checkbox.
@param fldName the name to store the data in the PersistenceManagerData
@param label used as the label on the panel
@param defValue default value