Oladeji Oluwasayo wrote:two search field? how? but i thought criteria[n] should match field n, according to the instruction. i think all fields should be checked.
FROM THE SPECIFICATIONS:
The User Interface
The user interface for this assignment must satisfy the following criteria:
• It must be composed exclusively with components from the
Java Foundation Classes (Swing components).
• It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user.
• It must present search results in a JTable.
• It must allow the user to book a selected record, updating the database file accordingly.