public class ImageIconItemInfoUtils
extends java.lang.Object
Constructor and Description |
---|
ImageIconItemInfoUtils() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.ImageIcon |
createImageIcon(java.lang.Class class_Reference,
java.lang.String path)
Returns an ImageIcon, or null if the path from class reference was invalid.
|
public static javax.swing.ImageIcon createImageIcon(java.lang.Class class_Reference, java.lang.String path)
class_Reference
- A reference to a class which path will be the base to find the resource of the 'path' parampath
- Path to the image to load