How do I change the colour of text in a cell in a JTable?
I am trying to change the color of the text in a single cell in a JTable. I have tried not adding a cell renderer and it changes the colour of text in all cells. I have tried adding a cell renderer to the table and it does the same ie all cells text colour changes. I am able to add a cell renderer to a column and it changes all the cells in the column. I cannot figure out how to change just one single cell’s text colour without effecting the other cells.