proper.gui.core.io
Class ImageLoader

java.lang.Object
  extended by proper.gui.core.io.ImageLoader

public class ImageLoader
extends java.lang.Object

This class is a little helper for loading Images from a jar archive.

Version:
$Revision: 1.2 $
Author:
FracPete
See Also:
Loader

Field Summary
static java.lang.String DIR
          the directory of the images
 
Constructor Summary
ImageLoader()
           
 
Method Summary
static java.awt.Image getImage(java.lang.String filename)
          returns the Image for a given filename, NULL if not successful
static javax.swing.ImageIcon getImageIcon(java.lang.String filename)
          returns the ImageIcon for a given filename, NULL if not successful
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIR

public static final java.lang.String DIR
the directory of the images

See Also:
Constant Field Values
Constructor Detail

ImageLoader

public ImageLoader()
Method Detail

getImageIcon

public static javax.swing.ImageIcon getImageIcon(java.lang.String filename)
returns the ImageIcon for a given filename, NULL if not successful


getImage

public static java.awt.Image getImage(java.lang.String filename)
returns the Image for a given filename, NULL if not successful