Icon.createSmallIcon

Overview | Methods | This Package | All Packages

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.