Rewrite Exercise to create a GUI, as shown in Figure. Your program should let the user enter the loan amount and loan period in the number of years from text fields, and it should display the monthly and total payments for each interest rate starting from 5 percent to 8 percent, with increments of one-eighth, in a text area.
Write a program that lets the user enter the loan amount and loan period in number of years and displays the monthly and total payments for each interest rate starting from 5% to 8%, with an increment of 1/8. Here is a sample run:

For the formula to compute monthly payment, see Listing, ComputeLoan.java.
Listing




(b) The program displays a table for monthly payments and total payments on a given loan based on various interest rates.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.