Difference between SwingWorker and SwingUtilities.invokeLater

Posted by Paul Szulc on Stack Overflow See other posts from Stack Overflow or by Paul Szulc
Published on 2010-03-18T17:13:08Z Indexed on 2010/03/18 17:21 UTC
Read the original article Hit count: 342

Filed under:
|
|

I need to run some method in Swing application in separate thread. What is the difference between using SwingWorker and SwingUtilities.invokeLater. Which one should I use to run a thread in Swing application? I couldn't find exact info in the tutorial at

http://java.sun.com/docs/books/tutorial/uiswing/concurrency/index.html

© Stack Overflow or respective owner

Related posts about swing

Related posts about java