public interface ImageResource
Modifier and Type | Method and Description |
---|---|
javax.swing.ImageIcon |
getImageIcon(java.lang.String imageIconName)
Returns an image loaded by name from typical images folder, e.g.
|
javax.swing.ImageIcon |
getImageIconIndividual(java.lang.String imagePath)
Returns image icons for path as specified - in opposite to getImageIcon, the image is searched
absolutely respectively below current directory or the code base in case of applets.
|
javax.swing.ImageIcon getImageIcon(java.lang.String imageIconName)
imageIconName
- the name of image icon to loadjavax.swing.ImageIcon getImageIconIndividual(java.lang.String imagePath)
imagePath
- the path of the image file to be loadedCopyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de