specifying the location for file
<p>I need to give a default location for the user to store the file. like "/Users/username/Desktop". How to give the location for a file? Below code will generate the file in location from where I am running.</p>

<pre><code>PrintWriter p = new PrintWriter(new FileWriter(tableName + "_insert.sql"));
</code></pre>
