change thread.sleep() to timer.

Printable View