Microsoft SDK for Java

ListBox.getItems

Retrieves an Object array containing all the items in the list box.

Syntax

public final Object[] getItems()

Return Value

Returns a zero-based array of objects. Items in the array are in the order they appear in the list box. If the list box contains no items, returns an empty array.

See Also   setItems

© 1999 Microsoft Corporation. All rights reserved. Terms of use.