Possible Duplicate:
Changing JTable cell color
I have to set the color of some specific cells in jtable but when i write the following code the whole table is colored
Component cell=(Component) jTable2.getCellRenderer(0,0);
cell.setBackground(Color.BLUE);
In this case only (0,0) should be colored.