-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0, 1.4.1, 1.4.2, 5.0
-
tiger
-
x86, sparc
-
solaris_10, windows_nt, windows_2000, windows_xp
Update:
This bug was seen on Windows NT 4.0 SP6
Update (see evaluation):
This seems to be a problem with animated gifs in general.
---------------
Up until 1.4.0, one could use the following to show an animated gif on a JButton or JLabel:
JLabel animLabel = new JLabel(new ImageIcon("anim.gif"));
This no longer works as of 1.4.0. It seems that the image will animate one or two cycles and then stop.
Try the attached test case, which shows a JButton and JLabel, both containing an ImageIcon with an animated gif. In 1.3.0 and 1.3.1, the gif animates indefinitely. In 1.4.0 it stops after one cycle or so.
(I've attached a sample image "anim.gif" for testing)
This bug was seen on Windows NT 4.0 SP6
Update (see evaluation):
This seems to be a problem with animated gifs in general.
---------------
Up until 1.4.0, one could use the following to show an animated gif on a JButton or JLabel:
JLabel animLabel = new JLabel(new ImageIcon("anim.gif"));
This no longer works as of 1.4.0. It seems that the image will animate one or two cycles and then stop.
Try the attached test case, which shows a JButton and JLabel, both containing an ImageIcon with an animated gif. In 1.3.0 and 1.3.1, the gif animates indefinitely. In 1.4.0 it stops after one cycle or so.
(I've attached a sample image "anim.gif" for testing)
- duplicates
-
JDK-4820661 gif-animated images are not correctly drawn
-
- Closed
-
- relates to
-
JDK-4891551 Tiger SWAT: Sol10: launch Java2Demo throws new exceptions
-
- Closed
-