void (Color color, Object source) { if (component != null) { component.setBackground(color); String name = myModel.myProperties.get(row).propertyName; myModel.myProperties.set(row, new PropertyBean(name, color)); } }