Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当您在 Java 应用程序中并使用它的内置文件选择器时,我如何查看/访问 LINUX 目录中的隐藏项
你应该试试
fileChooser.setFileHidingEnabled(false);
我认为这可能对您有用:
http://download.oracle.com/javase/tutorial/uiswing/components/filechooser.html
如果您知道隐藏文件夹名称或完整路径,只需在字段中提交File Name- 然后您将看到隐藏文件夹的内容。
File Name
例如,提交.src到隐藏的子目录.src。
.src