/** * Returns the renderer for a cell specified by row and column. * * @param row the row number * @param column the column number * @return the cell renderer */ public TableCellRenderer getCellRenderer(int row, int column) { int i = dataTable.convertColumnIndexToModel(column); if (i == 0) return labelRenderer; return getDefaultRenderer(tableModel.getValueAt(row, column).getClass()); }