title: How to save created file to the same project directory? Java
body: <p>Is there any way to save my new File to the same project it is using?
  For example I can save here but really want to save it in the project folder.</p>
  
  <pre><code>File temp = new File("C:\\Windows\\Temp\\results.csv");
  FileWriter writer = new FileWriter(temp);
  </code></pre>