Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Building a Table with Filters

Posted on 2004-10-19
2
Medium Priority
?
223 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

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This video teaches viewers about errors in exception handling.
Suggested Courses

636 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