Hi, sorry i am complete new to processing,
is it possible to build a button that does on every click something new what i define before ?
Example:
I made a new class for the button where the buttons settings are defined. (a number a color and some further stuff).
Now on the interface i want only one Button in the middle of the screen, the color and the number of that Button should change on every click.
For Example click1(red, number1), click2(green,number2),...click5(white,number5) after 5 clicks i can disappear.
Would be nice if you can help me with an example !
is it possible to build a button that does on every click something new what i define before ?
Example:
I made a new class for the button where the buttons settings are defined. (a number a color and some further stuff).
Now on the interface i want only one Button in the middle of the screen, the color and the number of that Button should change on every click.
For Example click1(red, number1), click2(green,number2),...click5(white,number5) after 5 clicks i can disappear.
Would be nice if you can help me with an example !
1