void (ListCellRenderer<? super E> renderer) { if (renderer instanceof SimpleColoredComponent scc) { scc.getIpad().top = scc.getIpad().bottom = 0; } super.setRenderer(new AdjustingListCellRenderer(renderer)); }