]> source.dussan.org Git - dcevm.git/commitdiff
Fixes #145 - show hidden files in file chooser 150/head
authorNeal Hunter <nhunter@guidewire.com>
Mon, 25 Jun 2018 19:23:23 +0000 (20:23 +0100)
committerNeal Hunter <nhunter@guidewire.com>
Mon, 25 Jun 2018 19:23:23 +0000 (20:23 +0100)
installer/src/main/java/com/github/dcevm/installer/AddDirectoryAction.java

index 94af785235ee931460464d2ebce8d615020b7c04..0a7c931944c26bed4a4e3257ff6dd6ec75d8d004 100644 (file)
@@ -51,6 +51,7 @@ class AddDirectoryAction extends AbstractAction {
 
     public void actionPerformed(ActionEvent e) {
         JFileChooser fc = new JFileChooser();
+        fc.setFileHidingEnabled(false);
         fc.setDialogTitle("Select a Java installation directory...");
         fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
         fc.setAcceptAllFileFilterUsed(false);