Demonstrate the ability to
u:\Lab6\ with two Java code files: SalesTax.java and Driver.java.JFrameJOptionPane to show a message dialog with output resultsDo Chapter 11, Programming Challenge 2: Monthly Sales Tax
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 4% and the county sales tax rate is 2%. Create a GUI application that allows the user to enter the total sales for the month into a text field. From this figure, the application should calculate and display the following:
Use named constants to represent the county tax rate (0.02) and the state tax rate (0.04)