code: @Override
  	public boolean validate(final Problems problems, final String compName, final String model) {
  		final char[] chars = model.toCharArray();
  		for (final char c : chars) {
  			if (Character.isWhitespace(c)) {
  				problems.add(ValidationBundle.getMessage(MayNotContainSpacesValidator.class, "MAY_NOT_CONTAIN_WHITESPACE", compName)); // NOI18N
  				return false;
  			}
  		}
  		return true;
  	}
docs: /*
  (non-Javadoc)
  
  @see
  com.fs.commons.desktop.validation.Validator#validate(com.fs.commons.desktop.
  validation.Problems, java.lang.String, java.lang.Object)