title: Disable rename of a file in JFileChooser?
body: <p>When you click twice (not double click) on a file in JFileChooser, you can rename the selected file. How to disable this feature? I've tried with </p>
  
  <pre><code>UIManager.put("FileChooser.readOnly", Boolean.TRUE);
  </code></pre>
  
  <p>but it doesn't work.</p>