File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

B&S GUI like the Microsoft Excel

 
William Silva
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11833
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
William Silva
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 783
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic