-
February 28th, 2012, 12:14 AM
#1
Selecting and displaying certain rows in jTable.
Hi,
I have a Jtable in one my Java programs.
I want to do the following
1.
Based on a query I want to select certain data from the Jtable, e.g.
select * from <JTable> where column1 = "XYZ" and column2 = "123";
2. Display only the selected information back in the JTable.
So, although the JTable will have multiple rows, I will be displaying only a certain selected rows at a given time.
-
February 28th, 2012, 07:55 AM
#2
Re: Selecting and displaying certain rows in jTable.
You should be able to do this using a RowSorter
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|