This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Where to put Search in the GUI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Where to put Search in the GUI" Watch "Where to put Search in the GUI" New topic
Author

Where to put Search in the GUI

Aruneesh Salhotra
Ranch Hand

Joined: May 12, 2004
Posts: 167
I wasnt exactly sure where to put the search in the GUI.
I am using a JTable in a scrollpane, and the frame is has a borderlayout.

North I have the toolbar, center is the jtable, south is a place holder for something like status.

What is the best approach for search that people have followed.
1. InputBox
2. two text fields and then a search button
3. any other
Eiji Seki
Ranch Hand

Joined: Feb 15, 2006
Posts: 88
2-3 choices, radio buttons
few choices, select
many choices, text input (combo filtering optional)
suggestions and new input, combo

Notice that few and many are relative. :roll:

It does not look quering db for choices (since you would have to do that everytime an input object is used), so i guess we should use a regular text input for each field.

I am far from the GUI implementation and never wrote a Swing interface.
Lol I guess I just shouldn't be answering this topic, but...


SCJD URLyBird (WIP)<br />SCJP 1.5
 
jQuery in Action, 2nd edition
 
subject: Where to put Search in the GUI
 
Similar Threads
jtable
JTable
JTable Question
JTable
JTable Paging