I am very new to Java and to keep it short I have to write a program to calculate mortgage amounts. I got all the buttons, textfields and all that good stuff for the GUI. Now, I am stuck trying to figure out how I go about adding actions to my buttons. LIke for example, push the close button to close. The way I added my buttons and such was like this:
and so on...all my textfields and labels were done the same.
any help on how I can add the actions will be greatly appreciated.