title: java reading text from src without writing a long path
body: <p>I can read texts and write them to console however when i install this application to another computer wherever it is installed I dont want to change the path of the txt file. I want to write it like </p>
  
  <pre><code>BufferedReader in = new BufferedReader(new FileReader("xxx.txt"));
  </code></pre>
  
  <p>I <strong>don't</strong> want to:</p>
  
  <pre><code>BufferedReader in = new BufferedReader(new FileReader("C:\\Users\\abcde\\Desktop\\xxx.txt"));
  </code></pre>
  
  <p>is there any way to show this txt file? By the way  I put this txt file inside the sources but it cant read!</p>