There are a few known issues with "setCurrentDirectory" method:
Calling method "setCurrentDirectory" points chooser to root folder in all cases on Linux systems. That seems to be some problem in nodes search mechanism.
Directory doesn't change after "cancel" action to the same one that was set in file chooser before (or was selected by user before) since its not properly updated in JFileChooser model.
There are a few known issues with "setCurrentDirectory" method: