Question: Create a GUI to provide a simple tax calculator which looks like the two examples given below. (Two so you can check your calculations.) Here

Create a GUI to provide a simple tax calculator which looks like the two examples given below. (Two so you can check your calculations.) Here are the details of the design of the window The JFrame should be divided into three regions using a grid layout: The WEST region should contain a radio button group to determine whether the taxpayer is filing as Single, Married, or Single, Head-of-Household The CENTER region should contain an editable tax field where the user will enter the taxable income, a button to calculate the tax amount, a non-editable field to hold calculated tax amount. The EAST region should contain four checkboxes for four deduction types (Self, Dependent Child, Three-Legged Dog, and Blind Grandmother) The entire frame should appear with a WHITE background. This may require that you set the background for the JFrame, JPanel, JTextField, JCheckBox, and JRadioButton components. The only component you need to register is the button to calculate the tax amount When the button is clicked, the tax amount is calculated and displayed to 2 decimal places. Heres how the tax amount is calculated: Start with the taxable income amount entered by the user. For each deduction that is checked, take $2,000 off of the taxable income amount. Multiply the reduced taxable income amount by one of the following tax rates: 32% for Single 28% for Married 22% for Head-of-Household

Sub listings of all Java classes, Print Screens of the two example tax situations given above, and one of your own choosing.

heres an example of output. complete solutions please.

Create a GUI to provide a simple tax calculator which looks like

Income Tax Calculator Single O Married Single, Head of Household Income Tax Calculator O Single O Married O Single, Head of Household Taxable Income 80000 V Self Dependent Child Compute Three-legged Dog Income Tax 24,320.00 Blind Grandmother Taxable Income 95000 M Self Dependent Child Compute M Three-legged Dog Income Tax 24.920.000 M Blind Grandmother

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!