ComboBox.setSelectedIndex

Overview | Methods | This Package | All Packages

ComboBox.setSelectedIndex

Selects an item in a combo box.

Syntax

public final void setSelectedIndex( int index )

Parameters

index

The zero-based index of the item you want to select. Set to -1 if you do not want any items to be selected.

See Also   getSelectedIndex