Class SwingSvgImageUtil


  • public class SwingSvgImageUtil
    extends Object
    Class for loading images from SVG, PNG, or other bitmap formats.

    Logic is: if SVG is enabled, then SVG icon loaded if exist. Otherwise, class trying to change name into PNG and try to load. If initial name is PNG, then PNG icon will be loaded.