Combo.setItem

Sets the text of the item in the receiver's list at the given zero-relative index to the string argument.

@param index the index for the item @param string the new text for the item

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_RANGE - if the index is not between 0 and the number of elements in the list minus 1 (inclusive)</li> </ul> @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

class Combo
void
setItem
(
int index
,
String string
)

Meta