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?
By SlickWilly440 in forum Java
Last Post: 01-28-2006, 10:17 PM
By shiwalee in forum Java
Last Post: 01-03-2006, 07:45 AM
By Paul McCaffery in forum Java
Last Post: 11-21-2002, 06:24 PM
By Glen Kunene in forum Talk to the Editors
Last Post: 03-23-2002, 01:43 AM
By arun chakravarty in forum Java
Last Post: 12-01-2000, 11:59 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL