4
Answers

Stop looping with delay

I write application that run picture presentaion with delay (I used thread.sleep for delay)in while loop .How can I stop the looping when a keyboard is press ?

Answers (4)