How can one store an Image in a ListResourceBundle in order to provide different images for different locales?
Location: http://www.jguru.com/faq/view.jsp?EID=222272 Created: Oct 4, 2000 Modified: 2000-10-04 20:24:22.125 Author: Vjekoslav Nesek Nesek (http://www.jguru.com/guru/viewbio.jsp?EID=132836) Question originally posed by Jasen Halmes (http://www.jguru.com/guru/viewbio.jsp?EID=55625 One method is to save your localized images in a .jar, as, say, image-fr.gif for french and image.gif as default. Then you can reference the image file name from ResourceBundles for each locale. For example in MyResource.properties: myImage = image.gif and in MyResources_fr.properties: myImage = image-fr.gif Then reference the desired image by the key myImage and you will obtain the correct file name for each locale.