public class ImageIconItemInfoUtils extends Object
Constructor and Description |
---|
ImageIconItemInfoUtils() |
Modifier and Type | Method and Description |
---|---|
static ImageIcon |
createImageIcon(Class class_Reference,
String path)
Returns an ImageIcon, or null if the path from class reference was invalid.
|
public static ImageIcon createImageIcon(Class class_Reference, 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