posted 15 years ago
I like to override the prepareRenderer() method to do row level highlighting so you don't have to create custom renderers for each class of data in the table.
In your case you might change the code to use a Set containing the Integers of the rows you want highlighted. When you are rendering a row contained in the set you change the background otherwise you do nothing.
A quick example to get you started: