I am trying to color a cell of a jTable using the renderers, but they are not working well, as they lag the table and make it impossible to see. here\'s my code:
In your first code sample, you have a whole series of checks to end with setting the background color red. In all other cases you should set the background to the default background color. You can look up this background color by table.getBackground();.