JDK-4977314 : Application hangs when setting a multi-frame image as the frame's icon image
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.3.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2004-01-13
  • Updated: 2004-01-14
  • Resolved: 2004-01-14
Related Reports
Duplicate :  
Description
I am setting an animated GIF image as the icon image for the frame by calling Frame.setIconImage(). Application hangs when doing this and none of the subsequent lines are executed. After setting the icon image i am adding a button and a window listener. But I could not see the button or window event being enabled for this frame. 

This is occuring on all the platforms right from JDK1.3. If animated images are not supported for frame's icon, then it must be documented in setIconImage() method. 

I have attached a sample testcase. Execute the sample testcase and if you see a blank frame, the bug is reproduced. The frame must actually contain a button and must get disposed when clicking the close button on the top-right corner. 

I tested this on WinXP and Solaris 9.

Comments
EVALUATION Name: atR10251 Date: 01/14/2004 It's a duplicate of 4088017. ###@###.### 2004-01-14 ======================================================================
14-01-2004