I know this may seem like a very dumb question but i am wondering how to make an action happen once i press a button on my jframe. For example, if i press the button i've named calculate, i want it to be able to take values from two texts boxes and multiply them. My biggest setback is that i am not sure what to do to make this calculation happen when i press the button. I know how to write out the calculation for the most part, I would just like to know how i specify that it is to happen when i press the button only and no other time. Is it something to do with an event handler?
Re: jbutton calculation
Look at listeners. Go to this site and Find Event Listeners
The Really Big Index