wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Implementing GUI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Implementing GUI" Watch "Implementing GUI" New topic
Author

Implementing GUI

Samual Harvey
Ranch Hand

Joined: Aug 06, 2002
Posts: 119
While implementing GUI should we use the sample TableMap and TableSorter code from java to implement JTable sorting feature?
Thanks.


Samual Harvey<br />SCJP2<br />SCJD2
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Samual,
Well I had sorting in my table, but I developed my own code. I don't think it is necessary to have sorting but it won't hurt either. So it's your call.
Hope this helps,
Michael Morris


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

I'd skip the sorting, not necessary to get a perfect score.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Ray Cheeny
Ranch Hand

Joined: Aug 21, 2002
Posts: 74
hi,
When I design the GUI ,I use the ComboBox for user to choose the origin and dest.But need I get the item(such as sfo,lhr ) from the RemoteData or just write it directly.
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Ray,
I would say you probably need to pull it from the db and not assume the list of airports will be constant. I used a Set to hold each criterion for the search mechanism. Everytime the table data was updated, the new data was sent to these Sets and added, keeping them up to date.
Hope this helps,
Michael Morris
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Implementing GUI