JDK-4216579 : Can we have methods to start/stop animated gifs
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 1999-03-02
  • Updated: 1999-10-27
  • Resolved: 1999-10-27
Related Reports
Duplicate :  
Description

Name: dbT83986			Date: 03/02/99


I wanted a component that would display either a still image
or an animated gif, and respond to a start/stop animating event
to work like the netscape page-loading icon.
I can't find any way to control the animation of an animating
gif.
(Review ID: 53686)
======================================================================

Comments
WORK AROUND Animated gifs can be stopped by having the ImageObserver return false. When the last ImageObserver returns false, the animation will stop. The animation will automatically start again when the image is next displayed.
11-06-2004

PUBLIC COMMENTS This will be addressed through the Image I/O package. See RFE 4101949
10-06-2004

EVALUATION There is a way to start and stop the animated gifs in the current API as indicated by the Work Around field, but that is not a very obvious or optimal API. We should address this in a much more direct way when we develop the pluggable image I/O APIs. jim.graham@Eng 1999-03-02
02-03-1999