Question: The save button will save the new employee into a text file employee.txt in the defaule debug folder. Back to the MainForm, if the

The save button will save the new employee into a text file employee.txt in the defaule debug folder. Back to the MainForm, if the

The save button will save the new employee into a text file employee.txt in the defaule debug folder. Back to the MainForm, if the "Add Hours Worked" button is clicked, a new form is displayed. Form2 Hours Data Employee Id: 11 Employee Name: aa Hours Worked: Next Clear Close & Save In the form, the first employee from employee.txt should be displayed, then the user enters hours worked and clicks on the next button. The hours worked should be added to a List of employees, and the second employee data is displayed and expects the user to enter hours worked. When all hours worked data are entered, a pop up will display "no more employees." The user can then click on "Close & Save" which will close the form and save all data to the same employee.txt file. Back to the MainForm, when the Display All button is clicked, the following form will de displayed. Form3 Employee Id: 11 Employee Name: aa Pay Amount: S110.00 Employee Id: 22 Employee Name: bb Pay Amount: $440.00 Close Print

Step by Step Solution

3.40 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import javautilScanner public class Payrollinfo public static void mainString args Scanner input new ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!