code: @Override
  	public boolean validate(final Problems problems, final String compName, final String model) {
  		final ParsePosition p = new ParsePosition(0);
  		try {
  			NumberFormat.getNumberInstance(this.locale == null ? Locale.getDefault() : this.locale).parse(model, p);
  			if (model.length() != p.getIndex() || p.getErrorIndex() != -1) {
  				problems.add(ValidationBundle.getMessage(IsANumberValidator.class, "NOT_A_NUMBER", model, compName)); // NOI18N
  				return false;
  			}
  		} catch (final NumberFormatException nfe) {
  			problems.add(ValidationBundle.getMessage(IsANumberValidator.class, "NOT_A_NUMBER", model, 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)