void () { myTable.getColumnModel().getColumn(OLD_NAME_COLUMN).setCellRenderer(new ColoredTableCellRenderer() { @Override protected void customizeCellRenderer(@NotNull JTable table, Object value, boolean selected, boolean hasFocus, int row, int column) { //noinspection unchecked T element = (T) value; setToolTipText(null); append(myRenamer.getName(element), SimpleTextAttributes.REGULAR_ATTRIBUTES); } }); }