Question:
Payroll Swing Applet - CalcPay
Create a payroll Swing applet named CalcPay that allows the user to enter two double values?hours worked, and an hourly rate. When the user clicks a JButton, gross pay is calculated. There is another JButton for clicking so that federal withholding tax is subtracted from gross pay based on the following table:
Income $ Withholding %
$0 to $99.99 10
$100.00 to $299.99 15
$300.00 to $599.99 21
$600.00 and up 28