Highlights subString in the TableCell(s) which is using for JTable filetering

JXTable can do so via a Highlighter – see swinglabs-demos for an example (MatchingTextHighlighter in the search demo) – there a background highlight is applied by a Painter. You can do something like that manually somewhere in your renderer. If using a JLabel as renderingComponent, you basically have to find parts of the text that … Read more

JTable, RowFilter and RowFilter.Entry

I see no unexpected result. The first predicate is straightforward; it includes the intersection of two overlapping sets, with the row having Value 13 as the only member. return ((Number) entry.getValue(1)).intValue() > 10 & ((Number) entry.getValue(1)).intValue() < 50; The second predicate is the union of two overlapping sets, with all rows included. return ((Number) entry.getValue(1)).intValue() … Read more