Just a small correction, the parameter of Thread.sleep is in milliseconds, so 1000 is 1 second while 10000 is 10 seconds it should be Thread.sleep(10000) :)
E
Etienne Rached
@Etienne Rached
Just a small correction, the parameter of Thread.sleep is in milliseconds, so 1000 is 1 second while 10000 is 10 seconds it should be Thread.sleep(10000) :)