How to access hidden linux folders in a java file chooser

1.2k Views Asked by At

When you're in a java app and you use it's built-in file chooser, how can i view/access the hidden items in a LINUX directory

enter image description here

3

There are 3 best solutions below

1
On

You should try

fileChooser.setFileHidingEnabled(false);
0
On
0
On

If you know the hidden folder name or full path, just submit it in File Name field - then you will see the hidden folder contents.

For example, submit .src to go to hidden subdirectory .src.