code: @Override
  	public boolean validate(final Problems problems, final String compName, final String model) {
  		Exception e = null;
  		try {
  			Charset.forName(model);
  		} catch (final IllegalCharsetNameException badName) {
  			problems.add(ValidationBundle.getMessage(CharsetValidator.class, "ILLEGAL_CHARSET_NAME", compName, model)); // NOI18N
  			e = badName;
  		} catch (final UnsupportedCharsetException unsup) {
  			problems.add(ValidationBundle.getMessage(CharsetValidator.class, "UNSUPPORTED_CHARSET_NAME", compName, model)); // NOI18N
  			e = unsup;
  		}
  		return e == null;
  	}
docs: /*
  (non-Javadoc)
  
  @see
  com.fs.commons.desktop.validation.Validator#validate(com.fs.commons.desktop.
  validation.Problems, java.lang.String, java.lang.Object)