T
tiewknvc9
hi!
I am trying to get an image from an Imageicon within a jar file.
Outside of the jar file this is pretty easy,
myImage = myImageIcon.getImage();
to get from a string to an image obviously we do the following
URL url = Image.class.getResource(strFile);
that is not what I am asking though...
My function receives an ImageIcon, and I have to convert it to an Image
within the jar file...
Any ideas?
I am trying to get an image from an Imageicon within a jar file.
Outside of the jar file this is pretty easy,
myImage = myImageIcon.getImage();
to get from a string to an image obviously we do the following
URL url = Image.class.getResource(strFile);
that is not what I am asking though...
My function receives an ImageIcon, and I have to convert it to an Image
within the jar file...
Any ideas?