jtable row highlights

I guess i am not sure how to implement jtable search highlights.

I want to preserve the highlighted rows from the previous search in one color and add the new search results highlighted with a different color.

Doing setselectionbackground() seems to set the background for all the selected rows in the jtable. Is it possible to have multiple color selections. One for default selection upon mouse click , different color for the new search

results etc. Has anybody tried to implement the find and find next search within jtable where all the find results will be in one color and find next should just overwrite the existing color one row at a time.

[676 byte] By [Mickey123a] at [2007-11-26 12:20:47]
# 1
This posting shows one way to add custom background coloring. http://forum.java.sun.com/thread.jspa?forumID=57&threadID=610474You would need to keep an Array (or something) of the previously selected rows.
camickra at 2007-7-7 15:11:25 > top of Java-index,Archived Forums,Socket Programming...