Write a gui program to calculate pay for different types


In this activity, 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. 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a gui program to calculate pay for different types
Reference No:- TGS092222

Expected delivery within 24 Hours