Jak uzyskać formularz wejściowy Combobox Java

YourType varName = (YourType)comboBox.getSelectedItem();`
String value = comboBox.getSelectedItem().toString();
Testy Termite