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
Solved

Building a Table with Filters

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
arguments to jar 5 35
tomcat startup error 5 102
Eclipse Help Java EE 5,6,7 Documentation, why not Java EE 8 8 30
Need Help! Getting a syntax error and don't understand why 3 31
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
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…

856 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