Every example I have seen for this uses RowFilter.regexFilter and filters everything else out except the given text. I want the rows of the given text filtered OUT. It doesn’t even make sense the other way to me. A coffee filter filters the Coffee grounds OUT, not the other way around.
How do you filter OUT the rows containing the supplied text out of a JTable?
RowFilterhas a static method callednotFilter(), which takes aRowFilteras an argument and returns a newRowFilterthat has the opposite effect. You could take yourregexFilterand pass it toRowFilter.notFilter().