public void addIncrement(int nmult){
	try {

	    if(allowedValue == null){
		int n = this.getValue();
		if(n + nmult*increment > vmax) {
		    n  = vmax;
		}else if(n + nmult*increment < vmin) {
		    n  = vmin;
		}else{
		    n += nmult*increment;
		    n  = increment * (int)( n / (double)increment + 0.5);
		}
		setNormal();
		setText(Integer.toString(n));
	    }else{

		if(allowedIndex < allowedValue.length - 1){
		    allowedIndex++;
		    setText(Integer.toString(allowedValue[allowedIndex]));
		}

	    }

	}
	catch(Exception e){
	    System.out.println(e.toString());
	    System.out.println("Failed to increment field = " + name);
	    setError();
	}					
    }