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


=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/

Reply via email to