Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Now Create a GUI based on the following criteria which will use the Interest Class created above: 1 . Use a BorderPane as the root
Now Create a GUI based on the following criteria which will use the Interest Class created above:
Use a BorderPane as the root layout. Marks
Set title as Compound Interest Calculator Marks
Set the center layout of the main BorderPane to be a GridPane. Marks
Create Labels each for Invested AmountPRate of Interestr and Investment Yearst Correspondingly create TextFields to let the user enter the values as depicted by the Label text. The TextFields must span columns. Alignment must be center for the GridPane Marks
Then create radiobuttons assigned to a single ToggleGroup, and name the radiobuttons as Compounded YearlyCompounded HalfYearly and Compounded Quarterly Place the radio buttons horizontally and set a label Frequency of Interest over these radio buttons. Create HBox to store the radio buttons and place it below the Nodes created in step Marks
Now create a Calculate button below nodes created in Step The button click will show the user the compounded interest in a TextArea placed at the Bottom of the BorderPane. The result will show the invested value, value at maturity and the Interest earned. Marks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started