Component (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { JComponent component = (JComponent)super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); component.setOpaque(isSelected); return component; }