These employees do not get paid anything


Pay Calculator
In this Assignment, you will design and write a GUI program to calculate pay for different types of employees. Your program should have the following components:
1. Combo box to select the type of employee.
2. Two text fields to input the number of hours worked and pay rate.
3. A button to calculate the total pay.
4. Labels where appropriate.
The types of employees are as follows:
1. Salaried - These employees do not get paid by the hour and earn $2000 plus a weekly bonus. Use a JOptionPane to ask for the weekly bonus.
2. Hourly - These employees are paid a certain amount per hour. Any work over 40 hours is paid at time and a half
3. Volunteer - These employees do not get paid anything.
If Salaried or Volunteer is selected in the combo box, the hours and rate text fields should be disabled, as they are not needed. Whenever the employee type is changed, the hours text field should reset to 0 and the rate text field should reset to 0.0. If the calculate button is pressed when no employee type is selected, use a JOptionPane to tell the user to select an employee type

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: These employees do not get paid anything
Reference No:- TGS088449

Expected delivery within 24 Hours