code: @Override
  	public boolean validate(final Problems problems, final String compName, final String model) {
  		try {
  			if (model == null) {
  				return false;
  			}
  			final double val = Double.parseDouble(model);
  			final double minn = this.min.doubleValue();
  			final double maxx = this.max.doubleValue();
  			final boolean result = val >= minn && val <= maxx;
  			if (!result) {
  				problems.add(ValidationBundle.getMessage(NumberRange.class, "VALUE_OUT_OF_RANGE", new Object[] { // NOI18N
  						compName, model, this.min, this.max }));
  			}
  			return result;
  		} catch (final NumberFormatException e) {
  			// should be handled by another validator
  		}
  		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)