Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Design an application to search in a database table of employee records. Each employee record consists of an ID, first name, last name, job
Design an application to search in a database table of employee records. Each employee record consists of an ID, first name, last name, job title. The user interface should look similar to the sketch shown below. A text field is used to input the search query. A combo box is used to choose the search criteria (e.g. search by ID, search by first name, search by last name). By choosing any criteria and clicking on the "search" button, the correct results should be shown on the "results" pane. Search Query Search criteria Search Results: Item1 Item2 Item3 The application should be extendable so that a new search criterion can be added, perhaps as a new class, without having to modify the user interface. For example, a client user can add a new criteria by writing a class and registering it with the system. On adding that class, the new criterion should appear as a new item within the combo box. Search Query Search criteria Search Results: Item1 Item2 Item3
Step by Step Solution
★★★★★
3.54 Rating (171 Votes )
There are 3 Steps involved in it
Step: 1
EmployeeRecordsjava import javaxswing import javaawtevent import javaawt import javasql public class EmployeeRecords extends JFrame implements ActionL...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started