aboutsummaryrefslogtreecommitdiffstats
path: root/installer/src
diff options
context:
space:
mode:
authorNeal Hunter <nhunter@guidewire.com>2018-06-25 20:23:23 +0100
committerNeal Hunter <nhunter@guidewire.com>2018-06-25 20:23:23 +0100
commita30d8369409e0d10402eab2435454b003e4faecb (patch)
tree6d79448c8b8cf195cc5c9dd179c5f1181dabbcf6 /installer/src
parent74ffe49b7ddae62111767a15374c38e18f0f6a31 (diff)
downloaddcevm-a30d8369409e0d10402eab2435454b003e4faecb.tar.gz
dcevm-a30d8369409e0d10402eab2435454b003e4faecb.zip
Fixes #145 - show hidden files in file chooser
Diffstat (limited to 'installer/src')
-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);