[Advanced-java] Image Icon distortion problem

tpanton@attglobal.net tpanton at attglobal.net
Sat Mar 1 12:22:21 2003


I read your email about Icons vanishing in a swing app on
advanced java.

We had a similar problem - it turns out to have been a bug
in the mediaTracker/imageLoader code in all Jdks up to 1.3.1

We loaded JDK 1.3.1_07 and the problem went away.

You can find it in the Bug parade if you search for
animated gifs (I think it is first fixed in 1.3.1_03).
It also applies to normal gifs.

If you have a long running desktop app, you probably
want to set the following -X flags
-Xincgc -Xminf.75 -Xmaxf.35


Tim.