title: JFileChooser save dialog filename is modified or acted upon before approveSelection() is called
body: <p>I have a FileSaver class that extends the JFileChooser class. The constructor defines some file filters, sets the default file filter and calls <code>setAcceptAllFileFilterUsed(false)</code>. When the user clicks a button, a FileSaver object is created and <code>showSaveDialog()</code> is called for it. The FileSaver class overrides <code>approveSelection()</code> so that it can validate the filename entered before calling <code>super.approveSelection()</code>.</p>
  
  <p>This is fine for most filenames entered, but if the filename contains a question mark ("?") or asterisk ("*") then <code>approveSelection()</code> is not called and a new file filter is created (and appears set while the program mainly treats the file filter as its previous setting) with the filename as the description. Would it be possible to treat these filenames like any others (such that <code>approveSelection()</code> is called and the selected file set accordingly)?</p>
  
  <p>Also, it seems as though a filename containing a forward slash ("/") is treated as a path relative to the current directory and thus <code>getSelectedFile().getName()</code> only returns the part of the filename after the slash (or removing a slash at the end of the filename) and the part before appended to the directory path. Would it be possible for <code>approveSelection()</code> to retrieve the full filename for validation and not alter the directory?</p>