Thread.sleep() in while loop not working

Printable View