} else {
setIcon(null);
}
if (value instanceof SimpleModel) {
SimpleModel model = (SimpleModel) value;
if (model.getFlag(ModelFlag.TRANSLATE_VALUE)) {
setText(factory.getText(model.getText()));
} else {
setText(value.toString());
}
} else {
setText(value.toString());
}
prevColumn = column;
prevIsSelected = isSelected;
if (!isSelected) {
setBackground(SystemColor.text);
setForeground(SystemColor.textText);
}
if (properties != null) {
properties.change(this, factory);
}
if (!isSelected) {
Color background = null;
if (value instanceof DataModel) {
DataModel model = (DataModel) value;
String c = model.getBackgroundColorId();
if (c != null) {
background = factory.getClientResource().getColor(c);
} else {
Object rowModel = table.getModel().getValueAt(row, -1);