Overview | Methods | This Package | All Packages
Retrieves the zero-based index of the currently selected item in the combo box.
Syntax
public final int getSelectedIndex()
Return Value
Returns the zero-based index of the currently selected item in a combo box. If no item is currently selected, the return value is -1.
See Also setSelectedIndex