images in jar file ?



While having a Java application with images is it mandatory to put the
images in the jar file or is it equivalent to have them in a folder outside
the jar file ?


.



Relevant Pages

  • path for loading images when using packages
    ... Tonight I started to structure all my classes using packages and after getting all the 'package' and 'import' statements working properly I ran into issues with the code that loads images. ... Is there a relative path I can use? ... I need the ability for the loading of images to work from within the packaged JAR file but also through the context of the filesystem and it doesn't seem like the new code above will work for files that are loaded from outside the JAR file in the file system so what can I do to fix images that load that way? ...
    (comp.lang.java.programmer)
  • Image - Problem
    ... images in the middle of the applet, ... I then created a seperate class to load the applet using the "public static ... My problem is that i then created an executable jar file containing the ... images an class files. ...
    (comp.lang.java.help)
  • Re: Image - Problem
    ... > images in the middle of the applet, ... > I then created a seperate class to load the applet using the "public static ... > My problem is that i then created an executable jar file containing the ... > images an class files. ...
    (comp.lang.java.help)
  • images and jar file craziness
    ... JToggleButton. ... Now I want to wrap all of it up in an executable jar file. ... will only read the images from hard drive, ...
    (comp.lang.java.help)
  • Re: path for loading images when using packages-not fixed but updated
    ... Tonight I started to structure all my classes using packages and after getting all the 'package' and 'import' statements working properly I ran into issues with the code that loads images. ... I need the ability for the loading of images to work from within the packaged JAR file but also through the context of the filesystem and it doesn't seem like the new code above will work for files that are loaded from outside the JAR file in the file system so what can I do to fix images that load that way? ...
    (comp.lang.java.programmer)