Answered step by step
Verified Expert Solution
Link Copied!

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:
1. Use a BorderPane as the root layout. [1 Marks]
2. Set title as Compound Interest Calculator.[1 Marks]
3. Set the center layout of the main BorderPane to be a GridPane. [1 Marks]
4. Create 3 Labels each for Invested Amount(P),Rate of Interest(r) and Investment Years(t). Correspondingly create 3 TextFields to let the user enter the 3 values as depicted by the Label text. The TextFields must span 2 columns. Alignment must be center for the GridPane [4 Marks]
5. Then create 3 radiobuttons assigned to a single ToggleGroup, and name the radiobuttons as Compounded Yearly,Compounded Half-Yearly 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 4.[4 Marks]
6. Now create a Calculate button below nodes created in Step 5. 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. [4 Marks]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Oracle Solaris 11 System Administration

Authors: Bill Calkins

1st Edition

0133007170, 9780133007176

More Books

Students also viewed these Databases questions

Question

What aliases are now defined for your account in linux

Answered: 1 week ago

Question

LO1 Understand risk management and identify its components.

Answered: 1 week ago