Tags

links:
http://javarevisited.blogspot.com/2011/09/invokeandwait-invokelater-swing-example.html

summary:
– swing is _not_ threadsafe
– GUI updated thru event dispatch thread (EDT)
– InvokeLater = async update, put to edt queue
– InvokeAndWait = blocking update, if called from within edt its a guaranteed deadlock

Advertisements