code: @Override
  	public boolean validate(final Problems problems, final String compName, final String text) {
  		if (text.trim().length() == 0) {
  			return true;
  		}
  		final String result = !Utilities.isJavaIdentifier(text)
  				? ValidationBundle.getMessage(NotJavaIdentifierValidator.class, "ERR_JAVA_IDENTIFIER", text)
  				: null; // NOI18N
  		if (result != null) {
  			problems.add(result);
  		}
  		return result == null;
  	}
docs: /*
  (non-Javadoc)
  
  @see
  com.fs.commons.desktop.validation.Validator#validate(com.fs.commons.desktop.
  validation.Problems, java.lang.String, java.lang.Object)