start the task , created a new swingworker for the text extraction process . concode_field_sep File file concode_elem_sep ResourceBundle messageBundle concode_elem_sep int lengthOfTask concode_elem_sep String dialogMessage concode_elem_sep Document document concode_elem_sep Logger logger concode_elem_sep boolean done concode_elem_sep int current concode_elem_sep boolean canceled concode_field_sep int getLengthOfTask concode_elem_sep void stop concode_elem_sep String getMessage concode_elem_sep int getCurrent concode_elem_sep boolean isDone
void function ( ) { final SwingWorker loc0 = new SwingWorker ( ) { public Object construct ( ) { current = 0 ; done = false ; canceled = false ; dialogMessage = null ; return new ActualTask ( ) ; } } ; loc0 . setThreadPriority ( Thread . MIN_PRIORITY ) ; loc0 . start ( ) ; }