I need to highlight every other row in my JTable. With old version of swingx it could be done like this:
table.setHighlighters(new HighlighterPipeline(new Highlighter[] { new AlternateRowHighlighter(
color1, color2,color3 }));
but now, with swingx 1.6, method setHighlighters() can't accept those parameters. It says "The method setHighlighters(Highlighter...) in the type JXTable is not applicable for the arguments (HighlighterPipeline)"
So how can i do it with new swingx?