-
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?
Similar Threads
-
By SlickWilly440 in forum Java
Replies: 2
Last Post: 01-28-2006, 09:17 PM
-
By shiwalee in forum Java
Replies: 1
Last Post: 01-03-2006, 06:45 AM
-
By Paul McCaffery in forum Java
Replies: 0
Last Post: 11-21-2002, 05:24 PM
-
By Glen Kunene in forum Talk to the Editors
Replies: 17
Last Post: 03-23-2002, 12:43 AM
-
By arun chakravarty in forum Java
Replies: 1
Last Post: 12-01-2000, 10:59 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks