Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

ComboBox.setItems

Adds a set of items to the combo box.

Syntax

public final void setItems( Object[] value )

Parameters

value

A zero-based array of objects (generally String objects) that you want to add to the combo box. If the sorted property of the combo box is set to true, the items are inserted into the list alphabetically. Otherwise, the items are inserted in the order they occur the array.

Remarks

This method removes all existing items from the combo box before inserting the new items.

See Also   getItems