Java GUI program to calculate monthly payment.
The GUI has JTextFields and JButton. The user clicks on the button "Calculate" and the GUI shows the results on the proper labels.
The formula to be used is:
Monthly Payment ={rate of interest+ rate of interest/([1+rate of interest]^number of months-1)} X principal
Rate of 5% = 5/1200
Number of months will be number of years * 12
Fileds Required = Monthly payment, Total Payment and Interest Expense
Make the program user friendly.