Here is an example applet:

Simply click on the circle 10 times to test your average react time. Here is the source code.