I am trying to create a ComboBox. I then want to have a button when pressed act on the selected option in the combobox.
The ComboBox is created with cmbo.addItem("Option1", "Option1"); and thats how all of the options are created. Then I created a button. The button needs to be able to read the...