Q
Qu0ll
I have an animated GIF which I would like to display in all its animated
glory in a JFrame based application and in a JApplet. The GIF animates when
displayed in the JFrame by using the paintIcon() method of ImageIcon but the
same code only displays a static icon in the applet.
Is there a reason for this and/or a way to get it to work in the applet? I
am not trying to do anything sophisticated with it just yet, I simply create
a JPanel and override its paintComponent() method to paint the ImageIcon.
As I said, it works fine when the JPanel is in a JFrame but not in a
JApplet.
--
And loving it,
-Qu0ll (Rare, not extinct)
_________________________________________________
(e-mail address removed)
[Replace the "SixFour" with numbers to email me]
glory in a JFrame based application and in a JApplet. The GIF animates when
displayed in the JFrame by using the paintIcon() method of ImageIcon but the
same code only displays a static icon in the applet.
Is there a reason for this and/or a way to get it to work in the applet? I
am not trying to do anything sophisticated with it just yet, I simply create
a JPanel and override its paintComponent() method to paint the ImageIcon.
As I said, it works fine when the JPanel is in a JFrame but not in a
JApplet.
--
And loving it,
-Qu0ll (Rare, not extinct)
_________________________________________________
(e-mail address removed)
[Replace the "SixFour" with numbers to email me]