Class MstImage


  • public class MstImage
    extends java.lang.Object
    Hilfsklasse um das Standard Image Icon zu erzeugen (/resources/webstart/appName.png).
    createIconImage ohne Exception, aber vielleicht null als Rueckgabe-Wert Dann allerdings mit Logger.SWFW.warn(...).
    Version:
    1.0.0
    Author:
    ws
    • Constructor Summary

      Constructors 
      Constructor Description
      MstImage​(java.lang.String alName, java.lang.Class<?> classFromJar)
      Resources in jars can be found optimally sometimes only with class from the corresponding .jar
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Image createImage()
      appSpezifisches nach appName, sonst system Image, sonst null
      java.awt.Image createImage​(java.lang.String resourceName)
      sieht unter "/resources/" nach und liefert evtl.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MstImage

        public MstImage​(java.lang.String alName,
                        java.lang.Class<?> classFromJar)
        Resources in jars can be found optimally sometimes only with class from the corresponding .jar
    • Method Detail

      • createImage

        public java.awt.Image createImage()
        appSpezifisches nach appName, sonst system Image, sonst null
      • createImage

        public java.awt.Image createImage​(java.lang.String resourceName)
        sieht unter "/resources/" nach und liefert evtl. null