We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I've noticed that all the buttons/controls are called once when the program is started. For example, in "ControlP5button.pde", when you launch it, you can see every button is pressed
a button event from colorA: 0 colorA a button event from colorB: 100 colorB a button event from colorC: 0 colorC a button event from buttonB: 128 play playAgain
This could be a problem if a button's action were System.exit(0); for example. Does anyone know a solution to prevent this?
Answers
Nevermind, I found the answer in an older post. http://forum.processing.org/two/discussion/1368/controlp5-buttons-controls-trigger-automatically-on-sketch-start