void function ( ) { isRunning = false ; if ( progressThread != null ) { progressThread . interrupt ( ) ; } }
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 int percent concode_elem_sep boolean isRunning concode_elem_sep PortableRenderer state concode_elem_sep Thread progressThread concode_field_sep boolean getIsRunning concode_elem_sep void setIsRunning concode_elem_sep void setPercent concode_elem_sep void start concode_elem_sep int getPercent