Choice
menu to be the item at the specified position. Note that this method should be primarily used to initially select an item in this component. Programmatically calling this method will not trigger an ItemEvent
. The only way to trigger an ItemEvent
is by user interaction.
@param pos the positon of the selected item
@exception IllegalArgumentException if the specifiedposition is greater than the number of items or less than zero
@see #getSelectedItem
@see #getSelectedIndex
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|