Question: In NetBeans create a new JavaFX project with a class LoanPaymentCalculator as per the instructions: a bank offers college loans that can be repaid in
In NetBeans create a new JavaFX project with a class LoanPaymentCalculator as per the instructions: a bank offers college loans that can be repaid in 5,10,15,20,25 or 30 years. Write an app that allows the user to enter the amount of the loan and the annual interest rate. Based on these values the app should display the loan lengths in years and their corresponding monthly payments. Design the form window as follows: Enter the Amount Of Loan and Interest Rate using TextField objects (remember that it will be necessary to convert the text String from the TextFields using a parse, method, e.g. Double.parseDouble() Enter the Number Of Years using six RadioButton objects Calculate the Monthly Payment displayed in a Label when a Button executes an event handler (since the app will only calculate the monthly payment for the currently selected RadioButton, it will not be necessary to also display the loan length in years as part of the output specified in the text) Use a combination of layout objects, as well as font and color formatting to create a pleasing, professional looking form window Research on the Internet to find the formula to calculate the monthly payment for a loan given the amount of loan, interest rate and years to pay
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
