You can obtain the RowSorter from the table by invoking JTable.getRowSorter().
Then, to know if a row in the model is filtered out or not, you could call
RowSorter.convertRowIndexToView()
which returns -1 if the row is filtered out of the view.
If JTable.getRowSorter() returns null, you can assume that there is no
filtering, but using TableFilter, there is always an associated
RowSorter
This will work if you are using Java 6, is that the case?
Hope this helps!
Lu.