Question: Create a New Java Project called YourLastNameSalesTax. A retail company must file a monthly sales tax report listing the total sales for the month, and

 Create a New Java Project called YourLastNameSalesTax. A retail company must
file a monthly sales tax report listing the total sales for the

Create a New Java Project called YourLastNameSalesTax. A retail company must file a monthly sales tax report listing the total sales for the month, and the amount of state and county sales tax collected. The state sales tax rate is 7.5 percent and the county sales tax rate is 6 percent. Create a GUI application that allows the user to enter the total sales for the month into a text field. From this amount, the application should calculate and display the following: The amount of county sales tax The amount of state sales tax The total sales tax (county plus state) In the application's code, represent the county tax rate (0.06) and the state tax rate (0.075) as named constants. The window should be similar to the one displayed below. Note that Calculate County Tax, Calculate Sales Tax, and Calculate Total Sales Tax are buttons. One text field and three buttons are required. Each button should perform a separate calculation. All input/output should be accepted/displayed in the GUI. Input Validation: Do not accept unreasonable/junk values, or negative values, which must be rejected and asked for another one. Monthly Sales Tax Enter the total sales for the month Calculate County Tax Calculate Sales Tax Calculate Total Sales Tax Project Submission

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!