FolderPicker on Windows not use DisplayDirectory - any time begin with "My computer" - not with directory where set in setDisplayDirectory() (but getDisplayDirectory() is return my directory).
Short example: SDK examples/DevelopersGuide/GUI/SystemDialog.java
(I wrote this post to http://www.oooforum.org/ - http://www.oooforum.org/forum/viewtopic.phtml?t=69050 - unanswered)
--
WBR, Yaroslav Kavenchuk.
FolderPicker & Java on Windows - bug?
Re: FolderPicker & Java on Windows - bug?
As Bernard said on OOoF, this is planned for fixing in OOo 3.0 (Issue 64800). If you want to track the status, you can register with CollabNet yourself and track the issue.
Ubuntu 11.04-x64 + LibreOffice 3 and MS free except the boss's Notebook which runs XP + OOo 3.3.
Re: FolderPicker & Java on Windows - bug?
setDisplayDirectory works for me with system directories rather than file-URLs.
XPicker.setDisplayDirectory("/home/user/Documents/OOo/test/")
XPicker.setDisplayDirectory("/home/user/Documents/OOo/test/")
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice