Solved

Building a Table with Filters

Posted on 2004-10-19
2
220 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 500 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

Technology Partners: 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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

687 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