I am working on project where I am doing three task on a button click which takes aprox. 2-3 mins I am changing jLabel's text using below code
lblStatus.setText( "Phase1 done successfully !!!, Phase2 started " );
but I get only "All phase done successfully !!!" text in jLabel after all run is completed.