Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

adding images to java program

Hi, I am new to java, so please bear with me :)

I am using Java Studio to develop on. I am wanting to add some icons to my project, I created a JAR file with all my images in it .

Then in Java Studio I clicked on my project properties, clicked on Library, and in the "COMPILE TIME" section added the jar file.

Once I had done that I was able to select the images from the resource.

However when I go to run the project I am getting an error : Image.Icon Unknown Source

How do I get the resources to work properly? Do I need to add the jar file somewhere else besides the compile time ?

Any Help would be greatly appreciated?
[678 byte] By [MrCosgrove] at [2007-11-11 7:54:42]