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!
Ed Tse
Ranch Hand
Joined: Sep 18, 2003
Posts: 183
posted
0
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
You must implement all the CRUD functionality (including create and delete) in the satabase, but the client needs only to read and update unless the specs explicitly state otherwise.
42
Oliver Weikopf
Ranch Hand
Joined: Feb 17, 2004
Posts: 58
posted
0
Booking means filling the owner field of a record, nothing else. So it's just updating. [ June 20, 2006: Message edited by: Oliver Weikopf ]