Posts by Guilherme Figueira • 47 points
3 posts
-
0
votes1
answer124
viewsQ: How to add Jspinners values?
I want to make a simple program where the user puts a number on a JSpinner and, at the click of a button, will appear in another JSpinner, the value of the first summed by 2. However, I cannot sum…
-
2
votes2
answers451
viewsQ: How do I change the increment of a button by another button?
I have a button that adds a variable: x + 1, and every time I click on that button, the variable will increase 1 unit. But how do I program a button to change the function of button 1, so instead of…
-
2
votes1
answer909
viewsQ: I can’t do a click counter on a Jbutton
I am developing a "game" where there is a button on the screen and the player has to click several times on the button to make money. For that, I’m doing a sort of click counter, where the variable…