I have converted a Java applet into an app and it works perfectly.

My problem, the .wav files have to be in the /bin folder
when I try to change it to any other folder (for example doing something like this: System.getProperty("user.dir")+"\\someDir\\example .wav")

it throws a null pointer exception (I think because it's taking methods from Applet and thus is limited by the restrictions put on Applet) .

Is there anyway to change the directory?

Here's my code:
Java Code:
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import javax.swing.JLabel;
public class GameSounds extends Panel implements ActionListener{
	//// ******* SOUND FILES GO IN THE BIN FOLDER ********* ///////

    public GameSounds() 
    	{add(new JLabel("Hello"));}

    AudioClip one;
    public void init()// Init needed as it uses Applet methods
		one 	= getAudioClip("A.wav");
  	public  AudioClip getAudioClip(String filename)
  		{return Applet.newAudioClip(getClass().getResource(filename));  }

  	public void A()  		{ one.play();}
  	public void actionPerformed(ActionEvent ae){}
As you can see from the above, A.wav plays from the Bin directory... I would like it to play from the