Is it possible to get the location of the file that an ImageIcon was created from?
Internally ImageIcon has a transient private URL of its location, which when debu
Have you tried getDescription()?
getDescription()
I only say so because in the documentation for public ImageIcon(String filename) it lists getDescription() under "See Also".
Note: see Jeffrey's comment.