February 28th, 2012, 12:14 AM
Selecting and displaying certain rows in jTable.
I have a Jtable in one my Java programs.
I want to do the following
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
Re: Selecting and displaying certain rows in jTable.
You should be able to do this using a RowSorter
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.