method to stop the progress thread this will toggle the isrunning state to false , and interrupt the thread since the isrunning boolean is checked inside the progress loop in the thread , switching it to false will stop the process from running concode_field_sep int PAUSE_AMOUNT_S concode_elem_sep PortableRenderer renderer concode_elem_sep int percent concode_elem_sep boolean isRunning concode_elem_sep SelectItem[] AVAILABLE_MODES concode_elem_sep String PUSH_GROUP concode_elem_sep Boolean isIndeterminate concode_elem_sep Thread progressThread concode_field_sep boolean getIsRunning concode_elem_sep void setIsRunning concode_elem_sep boolean getIsIndeterminatePrimitive concode_elem_sep void setPercent concode_elem_sep Boolean getIsIndeterminate concode_elem_sep SelectItem[] getAvailableModes concode_elem_sep String startProgress concode_elem_sep void start concode_elem_sep String stopProgress concode_elem_sep int getPercent concode_elem_sep void setIsIndeterminate concode_elem_sep void modeChanged
void function ( ) { isRunning = false ; if ( progressThread != null ) { progressThread . interrupt ( ) ; } }