Hi all, I have a small problem which I hope somebody can help me with.
I am designing an iso-metric game application. One of the features is a Sprite design feature. The user selects an Image and other attributes such as transparency, a Polygon and name. The user saves an array that contains all the Sprites in that so-called Library. Some of the images are gif-ani.I noticed that it was neccesary to convert the Image to an ImageIcon because Image is not serializable. Thats fine. But when you inflate the object (Sprite) and cast the ImageIcon as an Image the Gif animation does not work. Its just a static image. Something has been lost along the way.
I believe if you use ImageObserver that can help.
If anyone has experience in serializing an Image which is an ani-gif and then inflating it and getting that ani-gif up and running again I would love to hear you method.