PopupList.setItems

Sets all items. <p> The previous selection is cleared. The previous items are deleted. The new items are added. The top index is set to 0. * @param strings the array of items * This operation will fail when an item is null or could not be added in the OS. * @exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if an item in the items array is null</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 PopupList
void
setItems
(
String[] strings
)

Meta