1. java : when is this method called : getTableCellRendererComponent? stackoverflow.comIn order to set the color for a specific table cell, I should create a custom TableCellRenderer which has the following method : |
2. getTableCellRendererComponent() in Jtable-doubt(urgent please) coderanch.comhai all, I have my own table model extending DefaultTableModel. I have MyTableCellRenderer extending DefaultTableCellRenderer. I am over riding the method getTableCellRendererComponent() in MyTableCellRenderer class and setting the colors for the cells. i want to know the logic to be put in for rendering the whole row with same background color and the value to be set. i am bit confused ... |