*/
private static IndependentValidator createColorListValidator() {
HashMap messageKeyMappings = new HashMap(1);
messageKeyMappings.put(FaultTypes.INVALID_COLOR,
"ColorListSelectionDialog.invalidColor");
ValidationMessageBuilder builder =
new ValidationMessageBuilder(
ControlsMessages.getResourceBundle(),
messageKeyMappings,
null);
Validator validator = new ColorValidator(NamedColor.getAllColors());
return new IndependentValidator(validator, builder);