?
Solved

Building a Table with Filters

Posted on 2004-10-19
2
Medium Priority
?
222 Views
Last Modified: 2010-03-31
I have four combo boxes, an add item button, a delete item button and a list box. When the add item is pushed I read the four
combo boxes and format a string to add to the list box. This simplistic approach is not very user friendly, I would like to build a
table of four columns and be able to filter each column by the parameters that I specify.

The four Combo Boxes have drop downs that give the user available choices, I have named the Combo Boxes DEVICES, PARAMETER,
VALUE and COUNT.

My columns would consist of the following HEADERS: THE CHOICES FOR EACH COLUMN will come from the combo boxes.
DEVICES          PARAMETER       VALUE          COUNT

Can someone point me to examples that do something similar, or make suggestions on the best way to implement this.

thanks
 
0
Comment
Question by:hugoitt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
JK2429 earned 1500 total points
ID: 12349845
0
 
LVL 9

Expert Comment

by:Ovi
ID: 12356934
Filtering a ListModel (can be easily expanded to TableModel):
http://www-106.ibm.com/developerworks/java/library/j-filters/

An tutorial of filtering Collections to be used if your table model is using them:
http://www.javaworld.com/javaworld/jw-10-2004/jw-1018-filter_p.html
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month11 days, 12 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question