title: JFileChooser: Cannot select Desktop when Selection Mode is File and Directories
body: <p>I ran into an issue with JFileChooser and wanted to see if there is a workaround.</p>
  
  <p>If the JFileChooser is created and the setFileSelectionMode is FILES_AND_DIRECTORIES, when a user clicks a shortcut button on the left (in XP) such as Desktop or My Documents or drop down to Desktop, the field is not placed in the File Name JTextPane. And when clicking the "Select/Accept" button, nothing happens (because isDirectorySelected() returns false for some reason).</p>
  
  <p>Overriding the approveSeletion does not work because the Event Handler function in BasicFileChooser does not call it.</p>
  
  <p>How would I make it so the Desktop can be selected without having to navigate to it manually, but by clicking the shortcut on the left?</p>
  
  <p>Thanks</p>