NativeJFileChooser icon indicating copy to clipboard operation
NativeJFileChooser copied to clipboard

Select Multiple Folders

Open NLstn opened this issue 8 years ago • 4 comments

Hi,

I know the JavaFx FileChooser doesn't support multiple folder selection, but do you have any idea on how to get around that issue? I dont really want to miss the native filechooser, but selecting multiple folders is somewhat important for my application.

NLstn avatar Jan 04 '18 23:01 NLstn

Hi, not much we can do about that as long as it's not supported by the underlying platform. I could change the file chooser to use the swing one if directories and multiple selection are both enabled, but then you'd be missing out on the native file chooser again.

steffen678 avatar Jan 05 '18 07:01 steffen678

Maybe there is a way to call native code for this, would you like me to have a look at it?

NLstn avatar Jan 06 '18 23:01 NLstn

There's most certainly native code to achieve this, but I think it should be properly implemented in the underlying directory chooser. Still, if you find a way, let me know.

steffen678 avatar Jan 07 '18 01:01 steffen678

With electron I can select multiple directories, I hope that NativeJFileChooser will support this feature.

bkstorm avatar Jun 23 '19 10:06 bkstorm