| Author |
Animated Gif not displaying on JLabel on JToolbar
|
George Nieuwoudt
Greenhorn
Joined: Nov 24, 2011
Posts: 8
|
|
Hi,
I have a issue where my animated gif does not display when added to a jtoolbar, am i doing it wrong or am i missing a concept?
Code Below:
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4163
|
|
Start small. Write a GUI with just one JLabel added to a JFRame, with an ImageIcon with a hardcoded path. But first, go through Loading Images Using getResource.
Your toString() calls are entirely redundant, and only add clutter. The value of a String concatenation expression is a String, and it's toString() method returns the String itself.
|
luck, db
There are no new questions, but there may be new answers.
|
 |
George Nieuwoudt
Greenhorn
Joined: Nov 24, 2011
Posts: 8
|
|
|
Thank you very much, i appreciate the help... i got it working like a charm...
|
 |
 |
|
|
subject: Animated Gif not displaying on JLabel on JToolbar
|
|
|