static ListCellRenderer lambdaMapLike customToStringListCellRenderer(IF1 toString) { ret (ListCellRenderer) new DefaultListCellRenderer { @Override public Component getListCellRendererComponent(JList list, O value, int index, bool isSelected, bool cellHasFocus) { ret super.getListCellRendererComponent(list, toString.get((A) value), index, isSelected, cellHasFocus); } }; }