Selects an item in a combo box.
public final void setSelectedIndex( int index )
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