Javascript
This demonstrates the run-to-completion aspect of the javascript event loop.
onmousedown: Turn box red and sleep 5 seconds
onmouseup: Turn box black