From a30d8369409e0d10402eab2435454b003e4faecb Mon Sep 17 00:00:00 2001 From: Neal Hunter Date: Mon, 25 Jun 2018 20:23:23 +0100 Subject: Fixes #145 - show hidden files in file chooser --- .../src/main/java/com/github/dcevm/installer/AddDirectoryAction.java | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3