I'm working on a application that uses a JList to hold a result of a query to a database. What I'd like the JList to show is the names of the query result with the record number of the result as a hidden value in the JList.
query result holds:
1,project 1 2,project 2 16, project 3
JList displays project 1 project 2 project 3
Selecting the item in the JList will allow the program to pull the first column that is not visible and use it to make another query to the database.
Is this possible in Java using JList? Or is there a differnt component that I should be using?
Steve<br /> <br />No matter where you go, there you are.<br /> <br />"My evil self is at the door, and I have no power to stop it."