question: @ Override protected void executionFinished ( Throwable t ) { m_ButtonStart . setEnabled ( hasData ( ) ) ; m_ButtonStop . setEnabled ( false ) ; if ( t != null ) { handleException ( "Execution failed:" , t ) ; JOptionPane . showMessageDialog ( this , "Execution failed:\n" + t , "Error" , JOptionPane . ERROR_MESSAGE ) ; } }
target:  Gets called when the thread finishes or gets stopped.