protected void setEnd(int end) {
        this.end = end;
    }
set the end step value of the process.

@param end the desired end value (default=0)
jme3-core/src/main/java/com/jme3/environment/generation/RunnableWithProgress.java