Does anyone know a way to circumvent the caching scheme used by the ImageIcon class?
As part of a photoalbum app, I want to let the user flip and rotate images. I can save the new image with Sun's JPEG encoder, but my app fails to update its own ImageIcons. The reason is that the ImageIcon class accesses a cached version of the old data instead of reloading the file. Is there a way to clear the cache?
I'd very much like to avoid keeping my own list of buffers. Any ideas?
thanks in advance,
Sheldon Pacotti
