Question: This is a Java Project... A retail company must file a monthly sales tax report listing the total sales for the month, and the amount
This is a Java Project... 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. All output should be displayed as currency (i.e. with a dollar sign and only two decimal places). Input Validation: Do not accept unreasonable/junk values, or negative values, which must be rejected and asked for another one.
please put a text copy down below...
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
