1. Create a GUI that has two JRadioButtions which allow a user to select between an employee and a manager.
2. Create a GUI that pops up if an employee is selected. This new window should contain JLabels withJTextFields that allow the user to enter in all the employee's relevant information - e.g. Name, Title,Age, and Salary. Use the same inputs from the Jane Doe case in Homework #1. The new windowshould also allow the user to raise the employee's salary by a certain percentage - JTextField (%Increase). Use the employee raiseSalary(int percent) method from Homework #1. Lastly, the new window should include a calculate button which computes and outputs the new salary when pressed.In this case, the new salary would be 82500.0.
3. Create a GUI that pops up if a manager is selected. This new window should contain JLabels withJTextFields that allow the user to enter in all the manager's relevant information - e.g. Name, Title,Age, Years of Experience, Highest Degree Earned, Salary, and Promotion Bonus. Use the same inputsfrom the John Doe case in Homework #1. The new window should also allow the user to raise themanager's salary by a certain percentage - JTextField (% Increase). Use the manager raiseSalary(intpercent) method from Homework #1. Lastly, the new window should include a calculate button whichcomputes and outputs the new salary when pressed. In this case, the new salary would be 115000.0.
4. Create a GUI error message that pops up if the user enters invalid information into the GUI fromquestion #2.
5. Create a GUI error message that pops up if the user enters invalid information into the GUI fromquestion #3.