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.