http://stackoverflow.com/questions/7418909/swingutilites-how-to-return-values-from-another-thread-in-java