Accessing sounds/images when developing applets

So, I'm working on an applet in IDEA, and I'm not sure how I'm supposed to set up the loading of image and sound files. getDocumentBase() and getCodeBase() both return locations in my temporary directory on my PC. Because this is a group project, I need to have these images/sounds as part of my CVS tree, so I can't put them in the out/ folder where the class files go.

Does anybody know of some good solutions for this? My guess is that I need to make a "Resources" or "Assets" folder in my CVS tree and somehow tell IDEA that it's supposed to add that to the classpath for the appletviewer, but I'm not sure just how to do it.

- Joe

Please sign in to leave a comment.