You need to override the column renderer and change the background or foreground color as you want and then set that custom renderer with the appropriate JTable object.
> Hi > I want to display a string in the column of a table.This string is hardcoded and added to the column .But I want the String to be coloured.i.e say if the string is "?" then the ? should appear blue in colour.I believe there is no method for setting the colour of the String to Blue.Please help me out in this issue. > Hoping for a quick reply. > Thank You > Saurabh Ganguly