I want to show a .gif banner in the top of my app. I'm using this code to show the animated field BB Animated GIF Field. The issue is that I want to refresh this banner every minute. I've tried so many things:
create a new object, but this doesn't change the banner.
create a new animated field and try to replace it....
IllegalArgumentException
. (I'm trying to change that from inside aThread
, usinginvokeLater()
...I've usedinvokeAndWait()
too)remove this animated field and put a new one (from the
invokeLater()
orinvokeAndWait()
->IllegalException
)setting a bitmap to this field. The first animate doesn't show and I can see an image from the other banner but it isn't animated.
Any ideas?
If you need to see some code, I will try to post it tomorrow.