PrefEntry pe = null;
boolean ok = false;
if (dlg.getValue() == 1) {
if (rbString.isSelected()) {
StringSetting sSetting = new StringSetting(null);
pe = new PrefEntry(tkey.getText(), sSetting, sSetting, false);
StringEditor sEditor = new StringEditor(gui, pe, sSetting);
sEditor.showDialog();
if (sEditor.getValue() == 1) {
String data = sEditor.getData();
if (!Objects.equals(sSetting.getValue(), data)) {
pe.setValue(new StringSetting(data));
ok = true;
}
}
} else if (rbList.isSelected()) {
ListSetting lSetting = new ListSetting(null);