Java ComboBox Get Selected Item

JComboBox<String> combo1 = new JComboBox<String>();
String selecteditem = combo1.getSelectedItem();
Rockbloster