In my assignment I saw the GUI requirement like this: 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.
It said "It must allow the user to book a selected record, updating the database file accordingly", what does that "updating database file" mean? I guess there are 3 meanings:
1)Only update the booked/unbooked field in one record 2)Allow user to update/delete a record 3)Both option 1) and 2)
Which understanding is correct? 1)? 2) ? 3)?
Could anyone give me some hints? Thanks!
posted 10 years ago
I don't think you will ever delete stuffs. It's option one. Based on whether you show booked field, you have to refresh the JTable w