SwingWorker Detail?
- From: "toton" <abirbasak@xxxxxxxxx>
- Date: 11 Jul 2006 23:48:26 -0700
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
.
- Prev by Date: Re: Workflow! Can a Swing control mix html and jcomponents?
- Next by Date: Re: Adding encoding selection to JFileChooser
- Previous by thread: Re: Workflow! Can a Swing control mix html and jcomponents?
- Next by thread: JFFMPEG + JMF + RTP
- Index(es):