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.
Re: Selecting and displaying certain rows in jTable.
You should be able to do this using a RowSorter