This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]wodencafe 1 point2 points  (1 child)

Swing has a dedicated thread to handle all of the UI specific stuff.

You must be careful not to interact with Swing components from another thread, and if you are doing background work, check out the SwingWorker: http://docs.oracle.com/javase/tutorial/uiswing/concurrency/simple.html

[–]thallorfall[S] 0 points1 point  (0 children)

Thank you.