SwingWorker Detail?



Java 1.6 Incluedes SwingWorker class. Prior to SwingWorker, I had used
a seperate thread inside swing event (like actionPerformed etc) to do
the time consuming procesing, like
Thread worker = new Thread("Worker"){
public void run(){
//do your time consuming job here.
}
};
worker.start();
Any problem with this kind of code? What additional benifit other
than a done method to update GUI state, is given in this class?

Can anybody give a little more about advanced feature in this class
rather than ordinary thread?

thanks in advance
abir

.