Hello,
I’m new to JGo and would appreciate any help on this.
The snippet below puts a gif into the node and is fine
JGoIconicNode iNode = new JGoIconicNode("Fan");
JGoImage img = (JGoImage)iNode.createIcon("");
img.loadImage(jgoTest.class.getResource( "/images/fan32.gif"),true);
iNode.setIcon(img);
What I want to do is load up an animated gif but the above code does
not work if I change the string in getResource(…) to point to an
animated gif file. All I see is the text ‘Fan’. I’m using Java 1.4.2
and Swing.
Many thanks
Mike