Hi All I am trying to load a gif into my tool bar using:- JButton helpButton = new JButton(new ImageIcon(File.separator + "help.gif")); So it loads the gif from the currently executing class directory. But doesnt seem to work. How do I do it? Frustration is setting in and my skin color is going green, is this normal?
Adam Till<br />SCJP SCJD SCWCD
posted 13 years ago
The color has changed to red, of the beast of Embarasment. Sorted it. Moved to file to the root of the class path.