Is what I would like to give a value and increase the value of another variable but it tells me when I try to add it in to an (If statement) that It will not use a Jbutton with an int value. The graphics for the code are aleready in place, it is fairly extensive and would prefer not to add the whole code. Just would like to know how to make it so that clicking the button increases the value of an int variable by what number I Select.
Im extremely new to this stuff only been two years so explain as simply as humanly possible please.[/b]
This post has been edited by pbl: 29 November 2012 - 07:13 PM
Reason for edit:: Removed completly useless presentation stuff