void (Color color, Object source) { if (color != null) { final ColorUIResource colorUIResource = new ColorUIResource(color); // MultiUIDefaults overrides remove but does not override put. // So to avoid duplications we should first remove the value and then put it again. updateValue(pair, colorUIResource, row, column); changed.set(true); } }