Change the background color of rows as a group in JTable

33 views Asked by At

I have a JTable and want to have a clear distinction between the rows through color coding as shown in image.enter image description here

I know we need to use cell renderer but I am not sure how to compare the value of cells.

0

There are 0 answers