boolean () { if (myValue != null) { if (myValue.isBoolean()) { setValue(myValue, myCheckBox.isSelected()); } else if (myValue.isMultiValue()) { String selected = (String)myComboBox.getSelectedItem(); myValue.setSelectedOption(selected); } else { setValue(myValue, myField.getText().trim()); } keyChanged(myValue.getKey()); } invalidateActions(); return super.stopCellEditing(); }