You need to make sure you reset the renderer to its default background color (and handle row selection):
if (! table.isRowSelected(row))
{
if(row == 2 && column == 2)
c.setBackground(new java.awt.Color(0, 0, 255));
else
c.setBackground(table.getBackground());
}
In the future post a proper SSCCE with your question.