Delay without using Thread.sleep() in java

While i was developing Java Swing based application I had a situation to delay my Event Dispatcher thread (EDT) for about 10 seconds. When I used standard Thread.sleep() my entire UI went for a sleep (or not responding). After lots of googling I figured out that if we call Thread.sleep()  in EDT it will put…

WP2Social Auto Publish Powered By : XYZScripts.com