Component (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (isSelected) { value = new ListWithSelection<>(Collections.singletonList(value)); return INSTANCE.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); } return super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); }