How can we use multi-threading with Swing Application?
Created May 4, 2012
Sandip Chitale There are three excelent articles on this at Sun's Swing Connection Website
- http://java.sun.com/products/jfc/tsc/articles/threads/threads1.html
- http://java.sun.com/products/jfc/tsc/articles/threads/threads2.html
- http://java.sun.com/products/jfc/tsc/articles/threads/threads3.html
There is more info here -
http://java.sun.com/docs/books/tutorial/uiswing/overview/threads.html
You should also look into -
javax.swing.SwingUtilities.invokeLater(Runnable)
and
javax.swing.SwingUtilities.invokeAndWait(Runnable)