| Author |
B&S GUI like the Microsoft Excel
|
William Silva
Greenhorn
Joined: Jul 24, 2003
Posts: 23
|
|
Hi, Is it ok to make the GUI like the Microsoft Excel ? It would be only with a editable JTable (Remove, Add, Update) and a menu with this options plus a search menuItem. Thanks.
|
-----------------------<br />William W Silva<br />SCJP<br />SCWCD<br />SCBCD
|
 |
Andrew Monkhouse
author and jackaroo
Marshal Commander
Joined: Mar 28, 2003
Posts: 10816
|
|
Hi William, It is possible - might be a bit more complex than you really want to implement though. Check your instructions - you may not be required to have create or delete functionality in your GUI - removing them could simplify your GUI. Having a large, editable table implies that a user might be able to book multiple records simultaneously - it is usually simpler to only allow a single record to be updated. Regards, Andrew
|
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
|
 |
William Silva
Greenhorn
Joined: Jul 24, 2003
Posts: 23
|
|
Hi Andrew, My specification says : " - 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" I must provide a search, present the results in a JTable, and the user can select one record and book it ? Only this ? No delete, no create and no "unbook" ? Thanks.
|
 |
Paul Bourdeaux
Ranch Hand
Joined: May 24, 2004
Posts: 783
|
|
I must provide a search, present the results in a JTable, and the user can select one record and book it ? Only this ? No delete, no create and no "unbook" ?
Yep. That's it. Sun only requires a very simple GUI for the assignment.
|
“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook
|
 |
 |
|
|
subject: B&S GUI like the Microsoft Excel
|
|
|