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

Create JavaFX (GUI) application which can be used by someone 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% and 40% 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 and married people. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!