Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-03-2008, 12:43 AM
Member
 
Join Date: Oct 2007
Posts: 7
Bibendum is on a distinguished road
Loading images in seperate packages?
I've been having a problem. If, for example, a class in the package Package1 imports a package Package2, and a class in Package2 calls loadImage for a file called, say, image.gif, it seems to try to load C:\Package1\image.gif. What if I want a package to have its own set of images for it to use, without needing to copy every image to Package1?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing packages from the packages within same application. sta2003 New To Java 3 02-12-2008 01:03 PM
Using packages prfalco New To Java 5 02-01-2008 12:38 AM
Loading Images - Imp Thulasiraman Advanced Java 0 01-28-2008 11:33 AM
using Packages JavaForums Java Blogs 0 11-15-2007 07:50 PM
packages ai_2007 Advanced Java 1 07-31-2007 02:10 PM


All times are GMT +3. The time now is 04:38 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org