Create an interface that contains two JTextFields, a JButton, and three JLabels. When the user types an employee’s first and last names (separated by a space) in a JTextField, the employee’s job title is displayed in a second JTextField. Include two JLabels to describe the JTextFields used for data entry. Also include a third JLabel that displays the employee’s title or an error message if no match is found for the employee. Use parallel arrays to store the employees’ names and job titles.
Loading
Amit MohantyPosted Sep 11, 2023, 6:14 AM
Mashudu Tshabeni: Before asking for help, it's important to share what steps you've taken so far and where you've encountered difficulties. We're here to assist you, but please begin by telling us what you've done and where you need assistance.
Tahir AnsariPosted Sep 10, 2023, 7:44 AM