code: @Override
  	public boolean validate(final Problems problems, final String compName, final String text) {
  		boolean invalid = text.contains(File.separator) || text.contains(File.pathSeparator);
  		if (!invalid && Utilities.isWindows()) {
  			invalid = text.contains(":");
  		}
  		final String result = invalid
  				? ValidationBundle.getMessage(IllegalCharactersInFileNameValidator.class, "ERR_INVALID_FILE_NAME", compName, text)
  				: null; // NOI18N
  		if (result != null) {
  			problems.add(result);
  		}
  		return !invalid;
  	}
docs: /*
  (non-Javadoc)
  
  @see
  com.fs.commons.desktop.validation.Validator#validate(com.fs.commons.desktop.
  validation.Problems, java.lang.String, java.lang.Object)