code: private boolean checkHostPart(final String label, final Problems problems, final String compName) {
  		boolean result = true;
  		if (label.length() > 63) {
  			problems.add(ValidationBundle.getMessage(HostNameValidator.class, "LABEL_TOO_LONG", label)); // NOI18N
  			result = false;
  		}
  		if (label.length() == 0) {
  			problems.add(ValidationBundle.getMessage(HostNameValidator.class, "LABEL_EMPTY", compName, label)); // NOI18N
  		}
  		if (result) {
  			try {
  				Integer.parseInt(label);
  				problems.add(ValidationBundle.getMessage(HostNameValidator.class, "NUMBER_PART_IN_HOSTNAME", label)); // NOI18N
  				result = false;
  			} catch (final NumberFormatException e) {
  				// do nothing
  			}
  			if (result) {
  				if (result) {
  					result = new EncodableInCharsetValidator().validate(problems, compName, label);
  					if (result) {
  						for (final char c : label.toLowerCase().toCharArray()) {
  							if (c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '-') { // NOI18N
  								continue;
  							}
  							problems.add(ValidationBundle.getMessage(HostNameValidator.class, "BAD_CHAR_IN_HOSTNAME", new String(new char[] { c }))); // NOI18N
  							result = false;
  						}
  					}
  				}
  			}
  		}
  		return result;
  	}
docs: Check host part.
  
  @param label    the label
  @param problems the problems
  @param compName the comp name
  @return true, if successful