How to create a "directory selection" dialog?

I want to create a "directory selection" dialog to let users select a directory, which class should I use? I just spent several hours to find it, but not found.

2 comments
Comment actions Permalink

Hello freewind,

FileChooser.chooseFilesWithSlideEffect() is the most up-to-date API for this
task. Pass FileChooserDescriptorFactory.createSingleFolderDescriptor() as
the descriptor parameter.

I want to create a "directory selection" dialog to let users select a
directory, which class should I use? I just spent several hours to
find it, but not found.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.