From: Neal Hunter Date: Mon, 25 Jun 2018 19:23:23 +0000 (+0100) Subject: Fixes #145 - show hidden files in file chooser X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a30d8369409e0d10402eab2435454b003e4faecb;p=dcevm.git Fixes #145 - show hidden files in file chooser --- diff --git a/installer/src/main/java/com/github/dcevm/installer/AddDirectoryAction.java b/installer/src/main/java/com/github/dcevm/installer/AddDirectoryAction.java index 94af7852..0a7c9319 100644 --- a/installer/src/main/java/com/github/dcevm/installer/AddDirectoryAction.java +++ b/installer/src/main/java/com/github/dcevm/installer/AddDirectoryAction.java @@ -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);