posted 20 years ago
Hello,
I have a JTable in which I have cells overloaded to be JCheckBoxes. What I wanted to do was to display cells that are checked in white and those that are not in red. It worked fine (CellRenderer below). However, before the change I had every other row painted in different color. Now that I've added functionality for changing cell's color based on it's value the logic for painting every other row is no longer there. Is there a way I can keep both logics working together?
thanks,
Alex K.
[ July 29, 2003: Message edited by: Alex Kravets ]
All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson