A very strange issue about using icons in my java code. If I run it inside eclipse, everything is fine. But in the exported jar, some icons are displayed properly, but most not.

The following is the way I load icon in my code:

this.icons = new Hashtable();
Class c = this.getClass();
icons.put(ABOUT, new ImageIcon(c.getResource("about24.gif")));

I checked online and it seems that this should be the right way to do it. I also checked jar file and all icons are included inside.

Any suggestions regarding this?

Thanks a lot