How can I place a pause between repaints when handling a button event?

Printable View