ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java
public Field.Text addTextField(String fldName, String label, String defValue) {
    Field.Text fld = new Field.Text(fldName, label, defValue, storeData);
    addField( new FieldResizable(fld, this));
    return fld;
  }
public Field.Text addTextField(String fldName, String label, String defValue) {
    Field.Text fld = new Field.Text(fldName, label, defValue, storeData);
    addField( new FieldResizable(fld, this));
    return fld;
  }
Add a text field.
@param fldName the name to store the data in the PersistenceManagerData
@param label used as the label on the panel
@param defValue default value
@return the Field.Text object that was added