Microsoft SDK for Java

ImageList.getIcon

Creates and retrieves an icon based on the image and mask at the specified index.

Syntax

public Icon getIcon( int index )

Parameters

index

The zero-based index of the image to retrieve as an icon.

Return Value

Returns an Icon object that represents the specified image.

Remarks

The icon is created using the current drawing mode.

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