//Client program to test the implementation of Employee.java import javax.swing.*; public class EmployeeTester { enum WeekDay { MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY; } //Display a Pay-Slip for each of 2 Employees public static void main(String[] args) { //Instantiate an Employee object //Name: Jack B. Nimble, Pay-Rate: default Employee joe = null; // **** 4) enterHours(joe); //Add hours for each work-day printPaySlip(joe); //Display Jack's pay-slip //Instantiate an Employee object //Name: Jill B. Quicke, Pay-Rate: $10/hr Employee moe = null; // **** 4) enterHours(moe); //Add hours for each work-day printPaySlip(moe); //Display Jill's pay-slip } //Add the hours for each day of the work-week private static void enterHours(Employee empl) { for (WeekDay day : WeekDay.values()) { //Input Employee empl's hours for the current day **** 5) String input = JOptionPane.showInputDialog(null, "James Bond" + "\nEnter Hours Worked " + day); double hours = Double.parseDouble(input); //Update Employee empl's hours worked **** 6) } } //Compose and display an Employee's pay-slip private static void printPaySlip(Employee empl) { //Compose a pay-slip for Employee empl **** 7) String paySlip = "EMPLOYEE PAYSLIP" + "\n" + "James Bond" + "\n" ; //Display the pay-slip JOptionPane.showMessageDialog(null, paySlip); System.out.println(paySlip); } }