public final class ImageUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Icon |
createTransparentIcon(int width,
int height)
Creates a transparent icon.
|
static BufferedImage |
createTransparentImage(int width,
int height)
Creates a transparent image.
|
public static BufferedImage createTransparentImage(int width, int height)
width
- the width.height
- the height.public static Icon createTransparentIcon(int width, int height)
width
- the width of the new iconheight
- the height of the new icon