Microsoft SDK for Java

Icon.createSmallIcon

Creates and returns a small icon copy of the specified Icon object.

Syntax

public static Icon createSmallIcon( Icon icon )

Parameters

icon

An Icon object that specifies the icon on which to base the small icon.

Return Value

Returns an Icon object that represents a small version of the specified icon.

Remarks

A small icon is 16 by 16 pixels.

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