title: open a folder from authenticated network using java
body: <p>I want to open a folder located on remote machine through java. The main problem is that the remote machine has authentication. I have been trying to use </p>
  
  <pre><code>String url = "smb://10.xx.xx.xx/abc/";
  
  NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(null, "username",  "password");
  SmbFile dir = new SmbFile(url, auth);
  </code></pre>
  
  <p>but I am unable to show the folder in a window.</p>
  
  <p>Is this the right way or any other library may help?</p>
  
  <p>In short I want to display the folder like <code>Desktop.getDesktop().open(file)</code>.</p>