ColoredTableCellRenderer () { return new ColoredTableCellRenderer() { @Override protected void customizeCellRenderer(@NotNull JTable table, @Nullable Object value, boolean selected, boolean focused, int row, int column) { customize(this, value); } }; }