瀏覽代碼

Fixes #145 - show hidden files in file chooser

pull/150/head
Neal Hunter 5 年之前
父節點
當前提交
a30d836940
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      installer/src/main/java/com/github/dcevm/installer/AddDirectoryAction.java

+ 1
- 0
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);

Loading…
取消
儲存