Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create JavaFX (GUI) application which can be used to calculate exactly the amount of deductions that should be taken from their salary. The GUI at

Create JavaFX (GUI) application which can be used to calculate exactly the amount of deductions that should be taken from their salary.

The GUI at a minimum should include the following controls: Textfield, TextArea, Radio Button, Combo Boxes, Buttons and Slider.

The application will accept:

- Gross salary

- Marital status (Default: Single),

- Number of dependants / children (Default: 0),

- Upper and lower rates of tax (these should be set at defaults of 20% for salary up to 33800 and 40% for above 33800 but the user may change them when required).

The application should load and display all the relevant controls in an aesthetically pleasing layout and use the Grid layout manager.

Specific controls should contain default values, for example the upper and lower rates of tax.

The application will allow for different tax free allowances for single (3300) and married people (4950).

These allowances should be displayed.

Each number of dependents will increase the tax free allowance by 100.

On pressing a Button named calculate, the amount of tax an individual pays should be calculated and displayed in the relevant text area.

The net pay will also be displayed.

When the Reset button is pressed the application should reset all control values to their default values.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions