Parcourir la source

Fixes #145 - show hidden files in file chooser

pull/150/head
Neal Hunter il y a 5 ans
Parent
révision
a30d836940

+ 1
- 0
installer/src/main/java/com/github/dcevm/installer/AddDirectoryAction.java Voir le fichier

@@ -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);

Chargement…
Annuler
Enregistrer