I want to update a progressbar while executing a heavy process. Using swingutil invokelater dont works. It gets updated upon it's finished.
...long lasting command ..
SwingUtilities.invokeLater(new Runnable() {
public void run() {
searchDialog.setProgress( 60 );
}
});
...long lasting command ..