public final class ResourcesUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.awt.Image |
APP_ICON_16X16 |
static java.awt.Image |
APP_ICON_32X32 |
Modifier and Type | Method and Description |
---|---|
static java.util.Properties |
getBundleColorProperties(java.lang.String style)
Load default colors scheme for LAF theme.
|
static java.awt.Image |
getBundledImage(java.lang.String imageName)
Load icon from classpath.
|
static java.awt.Image |
getImage(java.lang.String resourceName)
Load icon.
|
public static final java.awt.Image APP_ICON_32X32
public static final java.awt.Image APP_ICON_16X16
public static java.awt.Image getImage(java.lang.String resourceName)
resourceName
- resource namepublic static java.awt.Image getBundledImage(java.lang.String imageName)
imageName
- icon file namepublic static java.util.Properties getBundleColorProperties(java.lang.String style) throws java.io.IOException
style
- a style name, should be 'light' or 'dark'java.io.IOException