Class ImageLoader



  • public class ImageLoader
    extends Object
    • Constructor Detail

      • ImageLoader

        public ImageLoader()
    • Method Detail

      • load

        public static Icon load(String filename)
        Load an image from the given filename. The file-resource will be resolved by using the classloader. ImageIO.read(InputStream) will be used to decode the image.
        Parameters:
        filename - the resource to load
        Returns:
        the Icon loaded or null