So in order to do part of my assignment I have to use outside files. And I believe I've done this correctly, but I'm still getting an error.
Here is how my project is set up:

As you can see I'm trying to load the audio 2001.mid and the image nightsky.jpeg. Both of those are located in the resources file inside of project three. I don't see what's wrong, however I'm am completely new to this type of thing. So any help is appreciated.
Also just not note STDdraw is in the lib folder. there is no problem with that either.
This is the error I get when trying to run it.
Mar 24, 2014 4:00:24 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs
at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Exception in thread "main" java.lang.IllegalArgumentException: image
resources/nightsky.jpeg not found at
StdDraw.getImage(StdDraw.java:656) at
StdDraw.picture(StdDraw.java:671) at NBody.main(NBody.java:17)
