How to implement animation in swing using thread. Whenever I try using Thread.sleep than it is not working
ex- if my pro have 3 sleep of 20 second than whole o/p is displaying after 60 second nothing b/w that.
I am changing value in a table or changing foreground of Label after clicking on a button