It looks like you're new here. If you want to get involved, click one of these buttons!
I have to write a processing program which responds to a left mouseclick only. It's quite simple actually, the background hast to be red, if I click with my mouse the background has to turn green and when I click again it has to turn blue. And then again red etc. I am stuck at the point where I have to make a difference between the mouse clicks, like first mouse click second mouse click. I saw some examples on the internet but those weren't just with the left mousebutton only.
And should I use an void mousePressed() or not at all ?
I hope someone can give me some good directions.