how do I get my buttons to have functionality? the window is set up the way I want it. however, when the user clicks on the calculate button I want it to perform a mathmatical function and then display the results in the payment field.
if I want to use the fields the user fills in How do I call them into the same math equation? I need to use all three in the same math equation.
In your event method you can simply call amount.getText() to get a String of the value entered in the textfield. Keep in mind though that you will then need to convert your String to an Integer to do calculations. Also note that the compile will probably complain that your variables like amount, percent, etc will need to be declared final. [ July 03, 2004: Message edited by: Gregg Bolinger ]