aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Dvorak <lada.dvorak7@gmail.com>2019-01-31 15:39:15 +0100
committerGitHub <noreply@github.com>2019-01-31 15:39:15 +0100
commit9bc42d28c5cfc94cbfeb241ad08eb4e59f9e9344 (patch)
tree8cce2e1e7d3a588dd3fc2889e45bef44f492b5da
parent16025f5b148eeb2090ba2aa28c28941c42ca32a8 (diff)
parenta30d8369409e0d10402eab2435454b003e4faecb (diff)
downloaddcevm-9bc42d28c5cfc94cbfeb241ad08eb4e59f9e9344.tar.gz
dcevm-9bc42d28c5cfc94cbfeb241ad08eb4e59f9e9344.zip
Merge pull request #150 from spudmux/bugfix-#145/allow-choosing-of-hidden-files
Fixes #145 - show hidden files in file chooser
-rw-r--r--installer/src/main/java/com/github/dcevm/installer/AddDirectoryAction.java1
1 files changed, 1 insertions, 0 deletions
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);