I using Eclipse to export a runnable JAR file from my project file. But the icon image never shows after export. It works when I run through eclipse but not after creating the JAR.
Here is my code that I have in my main method:
frame.setIconImage(Toolkit.getDefaultToolkit().getImage("images/icon.gif"));
Image is the correct directory. Also, tried method using BufferedImage but did not work.
Thanks in advance for your help.