Component (JTable table, Object value, boolean selected, boolean focus, int row, int column) { Component component = super.getTableCellRendererComponent(table, value, false, focus, row, column); setBorder(JBUI.Borders.empty(1, 2)); Color bg = RenderingUtil.getBackground(table, selected); component.setBackground(bg); ((JLabel) component).setText(""); return component; }