title: How to get absolute paths from FileDialog from different folders
body: <p>One way to open multiple files in SWT is to use a FileDialog:</p>
  
  <pre><code>FileDialog dialog = new FileDialog(shell, SWT.MULTI);
  dialog.open();
  
  System.out.println(dialog.getFilterPath());
  System.out.println(Arrays.toString(dialog.getFileNames()));
  </code></pre>
  
  <p>and each filename can be concatenated with the filter path.</p>
  
  <p>This works except for when the files are in different folders as given by "Recently Used" or "Search" in the dialog (GTK version). The filter path ends up being correct for only some of the files.</p>
  
  <p>For example, if the paths are:</p>
  
  <pre><code>/path1/file1
  /path2/file2
  </code></pre>
  
  <p>filterPath is 'path1', and fileNames is [file1, file2], so 'path2' is missing.</p>
  
  <p>Is there any way to get the correct paths in this case, or any alternative in SWT?</p>