The tutorial on How to Use Icons (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components) has a section on Loading Images Using getResource. The same principles apply for loading any static resource.

db