This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

Yehuda presents ...




This is a simple stopwatch that I made which counts up in seconds (please report bugs, comments, questions, or complaints).

Originally uploaded at:

17842 views / 3511 in the last 7 days

2 votes | 0 in the last 7 days

Tags: mouse with-source timer stopwatch yehuda

open in greenfoot
Your browser does not support the canvas tag.


For some reason the mouse operations (my Timer buttons) in the program work even when the scenario is paused. You just can't see the results until "Run" is clicked. But nothing actually happens besides for the mouse click recognition, no code is executed yet. If I press my "Stop" then "Pause" (underneath the window), then my "Start" and then wait a few seconds before clicking "Run", it doesn't skip the time that I waited, it continues from where it left off, which is good. But it's not supposed to continue counting at all until I click "Start" (after having clicked "Stop"). It even works with the reset button. Pressing "Pause" my "Reset" then "Run" puts the timer back to zero.

Want to leave a comment? You must first log in.

Who likes this?

JohnBis Nosson1459