static ListCellRenderer lambdaMapLike autoFontListCellRenderer(JComponent component) {
ret (ListCellRenderer) new DefaultListCellRenderer {
@Override
public Component getListCellRendererComponent(JList list, O value, int index, bool isSelected, bool cellHasFocus) {
Font font = main getFont(or(component, list));
Component c = super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
printVars_str autoFontListCellRenderer(+font);
if (font != null && c instanceof JComponent)
c/JComponent.setFont(font);
ret c;
}
};
}