Retrieves the text that is selected in the edit control of the combo box.
public final String getSelectedText()
Returns the text that is selected in the edit control of the combo box. If the combo box has a static text control instead of an edit control, or if no text is selected in the edit control, this method returns an empty string.
See Also setSelectedText