ScalableImageIcon to load icons of any supported format@OpenApiAll
@Deprecated
public class ImageHelper
extends java.lang.Object
| Constructor and Description |
|---|
ImageHelper()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ResizableIcon |
createResizableIcon(java.awt.Image image)
Deprecated.
Create resizable icon from given image..
|
static ResizableIcon |
createResizableIcon(java.net.URL url,
ImageFormat imageFormat)
Deprecated.
Create resizable icon from given image resource URL.
|
public static ResizableIcon createResizableIcon(java.net.URL url, ImageFormat imageFormat) throws java.io.IOException
url - url of the image resource (file).imageFormat - the image format.java.io.IOExceptionVectorImageFormat.SVG,
VectorImageFormat.WMF,
RasterImageFormat.UNSPECIFIEDpublic static ResizableIcon createResizableIcon(java.awt.Image image)
image - image to create icon for.