I am developing a small game applet and I would like for it to wait until the user presses spacebar
to start, however I am not sure what the best approach for this would be. Here I have written a SSCCE of a moving box.
Any suggestions would be greatly appreciated!