A little more interesting demonstration
These two applets are driving each other crazy. After you
press the button above, the first applet started counting down.
When it is 5 seconds from timeup, it will send a message. The
second applet receives the message and display "ready". When
the first applet is timeup, the second applet starts.
You understand this?