3

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

Paul Whelan
  • 16,574
  • 12
  • 50
  • 83
alex
  • 227
  • 3
  • 11

3 Answers3

8

You should try

fileChooser.setFileHidingEnabled(false);
Uku Loskit
  • 40,868
  • 9
  • 92
  • 93
  • 2
    Thanks, but i don't mean to program it that way. I just want to know if there is a way to access them even if the option is set to true. – alex Oct 21 '11 at 12:05
3

I think this might be useful to you:

http://download.oracle.com/javase/tutorial/uiswing/components/filechooser.html

Konstantin Yovkov
  • 62,134
  • 8
  • 100
  • 147
0

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.

jd_abcde
  • 441
  • 4
  • 6