Create a GUI program to compute tax. The program lets the user select tax status and...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Create a GUI program to compute tax. The program lets the user select tax status and enter taxable income. It computes the tax based on the table given in the Tax Computation assignment. 2009 U.S. Federal Personal Tax Rates Marginal Tax Rate Married Filing Jointly or Qualified Widow(er) $0-$16,700 $16,701-$67,900 $67,901-$137,050 $137,051-$208,850 $208,851-$372,950 $372,951+ 10% 15% 25% 28% 33% 35% Sample interface: Exercise16_04 Single $0-$8.350 $8,351-$33,950 $33,951-$82,250 $82,251-$171,550 $171,551-$372,950 $372,951+ Select Tax Status Single filers. Married Jointly Fliers Married filing jointly or qualifying widow(er) Taxable Income Up to $45,200 Married filing separately Head of Household Rate 15% $45,201 $109,250 27.5% $109,251 $166,500 30.5% $166,501-$297,350 35.5% $297,351 or more 39.1% Taxable income 10000000 Tax 3882042.9 Compute Tax Married Filing Separately $0-$8,350 $8,351-$33,950 $33,951 - $68,525 $68,525-$104,425 $104,426-$186,475 $186,476+ Head of Household $0-$11,950 $11,951-$45,500 $45,501-$117,450 $117,451-$190,200 $190,201-$372,950 $372,951+ Analysis: (Describe the problem including input and output in your own words.) Design: (Draw an UML class diagram) Coding: (Submit the archive file) Testing: (Describe how you test this program) Create a GUI program to compute tax. The program lets the user select tax status and enter taxable income. It computes the tax based on the table given in the Tax Computation assignment. 2009 U.S. Federal Personal Tax Rates Marginal Tax Rate Married Filing Jointly or Qualified Widow(er) $0-$16,700 $16,701-$67,900 $67,901-$137,050 $137,051-$208,850 $208,851-$372,950 $372,951+ 10% 15% 25% 28% 33% 35% Sample interface: Exercise16_04 Single $0-$8.350 $8,351-$33,950 $33,951-$82,250 $82,251-$171,550 $171,551-$372,950 $372,951+ Select Tax Status Single filers. Married Jointly Fliers Married filing jointly or qualifying widow(er) Taxable Income Up to $45,200 Married filing separately Head of Household Rate 15% $45,201 $109,250 27.5% $109,251 $166,500 30.5% $166,501-$297,350 35.5% $297,351 or more 39.1% Taxable income 10000000 Tax 3882042.9 Compute Tax Married Filing Separately $0-$8,350 $8,351-$33,950 $33,951 - $68,525 $68,525-$104,425 $104,426-$186,475 $186,476+ Head of Household $0-$11,950 $11,951-$45,500 $45,501-$117,450 $117,451-$190,200 $190,201-$372,950 $372,951+ Analysis: (Describe the problem including input and output in your own words.) Design: (Draw an UML class diagram) Coding: (Submit the archive file) Testing: (Describe how you test this program)
Expert Answer:
Answer rating: 100% (QA)
The program creates a GUI using the Swing library for Java It creates a JFrame window and adds several GUI components to it including a JComboBox for selecting the tax status a JTextField for entering ... View the full answer
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Posted Date:
Students also viewed these programming questions
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Carol Harris, Ph.D, CPA, is a single taxpayer and she lives at 674 Yankee Street, Durham, NC 27409. Her Social Security number is 793-52-4335. Carol is an Associate Professor of Accounting at a local...
-
A ball, which we can treat as a point charge, has a charge of +Q. This ball is 50 cm away from a ball of charge-100, which is fixed in position. The +Q ball is 30 cm vertically below, and 40 cm...
-
Criticize the following definitions in light of the eight rules for lexical definitions: 1. A sculpture is a three-dimensional image made of marble. 2. Elusory means elusive. 3. Birdie means sinking...
-
Find all points at which the mapping is not conformal. Give reason. A cubic polynomial
-
Imagine putting a single and a double brick on a flat board, as in Figure 10.40, and then slowly raising one end of the board. (a) Does the single brick begin to slide before, after, or at the same...
-
Cicek Manufacturing is preparing its master budget for the first quarter of the upcoming year. The following data pertain to Cicek Manufacturings operations: Current Assets as of December 31 (prior...
-
19. Find the tension T for the system shown in figure :- T T T 1 kg 2 kg 3 kg (1) IgN (2) 2 gN (3) 5 gN (4) 6 gN 20. A ball of mass 0.5 kg moving with a velocity of 2 m/sec strikes a wall normally...
-
The following data relate to the operations of Shilow Company, a wholesale distributor of consumer goods: Current assets as of March 31: Cash $ 8,000 Accounts receivable 20,000 Inventory 36,000...
-
What are the two benefits of a well-rehearsed response plan?
-
A column carrying a vertical downward load of 270 k is to be supported on a 3 ft deep square spread footing. The soil beneath this footing is an undrained clay with su = 3,000 lb/ft2 and unit weight...
-
Your goal is to determine the density and surface tension of kerosene, experimentally. First, you weigh 10 mL of kerosene, and you find that it has a mass of 8.1 g. Then, you insert a 0.0762cm...
-
You are at a SUV car repair shop watching a hydraulic lift use 200.0 N of force over a distance of 1 meter to lift your car 0.10 meters. How much force was applied directly to your car?
-
Tangshan Company's stock is currently selling for $77.0 per share. The expected dividend one year from now is $4.1 and the required return is 10.8 percent. If Tangshan's dividends are expected to...
-
A single product company estimated its sales for the next year quarter wise as under: Quarter Sales units 1 30000 2 37500 3 41250 4 45000 The opening stock of finished goods is 10000 units and the...
-
Deaton Corporation manufactures products A, B, and C from a joint process. Joint costs are allocated on the basis of relative sales value of the products at the split-off point. Additional...
-
The Place-Plus real estate development firm in Problem 24 is dissatisfied with the economists estimate of the probabilities of future interest rate movement, so it is considering having a financial...
-
Listing 3.3, SubtractionQuiz.java, randomly generates a subtraction question. Revise the program to randomly generate an addition question with two integers less than 100. Listing 3.3 1 import...
-
Write a program that displays the result of 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9.
-
Implement the preorder method in BST using a stack instead of recursion. Write a test program that prompts the user to enter 10 integers, stores them in a BST, and invokes the preorder method to...
-
Consider the situation illustrated in Figure 25. 11. A positively charged particle is lifted against the uniform electric field of a negatively charged plate. Ignoring any gravitational interactions,...
-
A positively charged particle is moved from point A to point B in the electric field of the massive, stationary, positively charged object in Figure 25. 12. (a) Is the electrostatic work done on the...
-
The negative terminal of a \(9-\mathrm{V}\) battery is connected to ground via a wire. (a) What is the potential of the negative terminal? (b) What is the potential of the positive terminal? (c) What...
Study smarter with the SolutionInn App