title: How to play an mp3 file located in a package?
body: <p>How would i set the directory of the following code to play an mp3 file inside of the selected package?</p>
  
  <pre><code>FileInputStream fis = new FileInputStream("song.mp3");
  </code></pre>
  
  <p>Also just another quick question: How would i add a pause button for the following code?</p>
  
  <pre><code>try {
      FileInputStream fis = new FileInputStream("song.mp3");
      Player playMP3 = new Player(fis);
      playMP3.play();
  } catch (Exception exc) {
      exc.printStackTrace();
      System.out.println("Failed to play the file.");
  }
  </code></pre>