Ok, this is sort of odd so follow me here.
I have a JTable of X number of rows (changes throughout program) and 11 columns. Each row contains details from an object I made. The object associated with each row has a boolean value in its class. What I am wanting to do is set the background color blue for every row whose object's boolean value is TRUE.
It is my preference that I would not need to add a column for the boolean JUST so the rows can be colored. But if there is no other way, then so be it. It should also be noted that two of my columns are unique, in that they are JButtons instead of the standard JLabel (or whatever it is). The background colors of these JButtons should not change alongside with the rest of the row.
I've been trying to figure this out for like 2 hours now. All my google searches regarding JTable background color has resulted in either Coloring Columns or Coloring based on user selection. Both of which are completely irrelevant for what I am attempting.
Any help is appreciated, I'm getting real frustrated. Thank god for Slacker Radio and MJ keeping me from going insane.