static A getSelected(JList l) { ret getSelectedItem_typed(l); } static A getSelected(JComboBox cb) { ret getSelectedItem_typed(cb); }