This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

Displays time, jpg image, text and circle C is pressed a circle appears
and remains on until another key is pressed (as the noLoop function is used).
If Y is pressed an image appears and also remains until another key is pressed (noLoop)
at the end a Loop function is used to make draw run again.
Any other key pressed, time is shown again as it is the "else" in the if..else function.

Built with Processing

Back to workstation

Source code: Keyboard_Input_Displaying_Time_jpg_image