User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 363,805 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,598 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting

Loading images from executable jar file?

Join Date: May 2007
Location: USA
Posts: 2,436
Reputation: Ezzaral is a jewel in the rough Ezzaral is a jewel in the rough Ezzaral is a jewel in the rough Ezzaral is a jewel in the rough 
Rep Power: 9
Solved Threads: 248
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is offline Offline
Nearly a Posting Maven

Re: Loading images from executable jar file?

  #11  
May 8th, 2008
I would try to verify that the images package(directory) is actually in the jar file. Depending upon how you created the jar, those files may have gone into the root of the jar, in which case "images/flag2.gif" would not resolve correctly.
Reply With Quote  
All times are GMT -4. The time now is 11:24 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC