Custom TableCellRenderer not working (table row rendering)
问题 I'm trying to render an specific row of my jtable (it should have a different background color and it should have bold characters). I found several questions regarding how to implement a custom TableCellRenderer (here and here) and the tutorial How to Use Tables and this one (Table Row Rendering). I'm using a JInternalFrame to display the JTable . I tried to implement both solutions but neither getCellRenderer nor prepareRenderer are being called. When debugging, I can see my new jtable being