Part 2: For the problem implement the required functionalities (3 * 15 pts) Org Consider the information system for a company. You can add a new employee to a project by specifying the project id, type of instance and detail (bonus or yearsin Service depending on the type) and pressing Add button. The employee is added in to the appropriate project based on the id and also to the company collection of employees. Implement a thread called "Employee Monitor" that continuously scans Company for new employee. When it detects that a new Employee was added, it will add it in the employee.txt file accordingly. The file will store the employees in the following format:
(where detail is bonus or years in service) Also implement a class "Map Utility with a static method called to Map that receives a Company object and returns a Map in which the keys are the name of the instances of employees ("Manager", "Engineer") and the values are the number of each instance. 1. Implement the listener for add button 2. Implement Employee Monitor thread 3. Implement Map Utility class. Part 2: For the problem implement the required functionalities (3 * 15 pts) Org Consider the information system for a company. You can add a new employee to a project by specifying the project id, type of instance and detail (bonus or yearsin Service depending on the type) and pressing Add button. The employee is added in to the appropriate project based on the id and also to the company collection of employees. Implement a thread called "Employee Monitor" that continuously scans Company for new employee. When it detects that a new Employee was added, it will add it in the employee.txt file accordingly. The file will store the employees in the following format: (where detail is bonus or years in service) Also implement a class "Map Utility with a static method called to Map that receives a Company object and returns a Map in which the keys are the name of the instances of employees ("Manager", "Engineer") and the values are the number of each instance. 1. Implement the listener for add button 2. Implement Employee Monitor thread 3. Implement Map Utility class