You should have a graphical user interface for creating and managing Employee objects.(The employee objects will be provided if you can give me your email.) This interface should say Employee at the top bar, then it should have first: name with input, 2: last name with input, 3:Email , 4:Phone number, 5: Office. and then have buttons at the bottom with "save", "load", "new employee", "employee list". and below these another three buttons: "search", "update", "delete data"
The program will allow the user to enter employee data, to be stored internally as an ArrayList of employees. Use the Employee class from previous exercises and solutions. The program should have the following functionality:
a) You should be able to add new employees to the list. For each new employee, fill out the fields below and click "New Employee".
b) You can view a list of employees who are at least first name, last name and email address for each employee. The easiest way to do this is to build a string with this information and display it in a JOptionPane.showMessageDialog.
c) You can save the list of employees to file with the "save" button
d) You should be able to load the list of employees with "upload" button
e) You can delete the data in the text fields to prepare them to enter new employees or search criteria with "remove data" button
f) You should be able to search for data on existing employees. Enter information in the fields you want and click "search." Leave the other fields blank. For example, if you want to search for an employee with the last name "Hansen", enter "his" last name and leave the other fields blank. If there is an employee who matches the criteria will the data whether they appear in the text fields. To get approved you need only implement similarity search on individual fields (fields that should not be included in the search should be empty) and show first results that match your search.
g) Optional: after searching for an employee and received the data of the person should be able to edit the data and hit "refresh" to change the information on this staff. Then the Employee object for this staff to be updated with the new information.