displaying image on the swings application

Hi All,I want to display images onto my swing application. I was using ImageIcon and Class to getResource(filename). It can only provide me images that i have placed in my package not outside my package.Please help me, how to to do?Thanks in advance.
[278 byte] By [ajay_jain82a] at [2007-11-26 23:35:05]
# 1
[url http://java.sun.com/docs/books/tutorial/uiswing/components/icon.html]How to Use Icons[/url]
camickra at 2007-7-11 14:56:15 > top of Java-index,Desktop,Core GUI APIs...