I've been investigating how to do it, but the only thing I find in creating another class extending DefaultTableCellRenderer but the problem I have is that I already have the code that creates the table done, the question is if I want the bottom of a cell Specify the table with a gray background as it would be, or you must necessarily do so by creating a class by extending DefaultTableCellRenderer. the idea is to change the color using a method something like jTable1.setcolor or something like that. happens that in my code I have to show the major and minor data of the table changing the background color of them then what I want is to change the background of the cell in the table that I get what is the cell after checking what the data is I have to change the color to them