Animated Gifs & Thread safety
843804Oct 24 2004 — edited Oct 30 2004Hi,
While using the utility to monitor updates to swing components in a non-threadsafe manner from http://www.clientjava.com/blog/2004/08/31/1093972473000.html I noticed that when using animated gifs, this utility churns out errors from the sun ImageFetcher class.
It looks like the sun methods to animate animated gifs run on a thread named "Image Animator", which calls a JLabel.setIcon() method, not on the event dispatch thread.
Im sure that suns classes animate gifs in a safe way, but could anyone explain how?
Many thanks