Browse Source

Fixes #145 - show hidden files in file chooser

pull/150/head
Neal Hunter 5 years ago
parent
commit
a30d836940

+ 1
- 0
installer/src/main/java/com/github/dcevm/installer/AddDirectoryAction.java View 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);

Loading…
Cancel
Save