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 will be tried first, then SVG via batik.
        Parameters:
        filename - the resource to load.
        Returns:
        the Icon loaded or null.