Java JTable change cell color
Say that the cell you would like to render with a different color represents a status (I’ll take Rejected and Approved as examples). I’d then implement a method in my table model called getStatus(int row) which returns the status for any given row. Then, when that is in place, I’d go about creating a cell … Read more