Page 1 of 1
Jar native-windows-helper
Posted: Wed Sep 21, 2022 6:32 pm
by Isabelle
Hello,
In need information on native-windows-helper ?
What is the purpose of this jar ?
I don't find any javadoc on it.
Thanks
Regards,
Isabelle
Re: Jar native-windows-helper
Posted: Thu Sep 22, 2022 7:32 am
by Radu
Hi Isabelle,
The JAR contains two DLLs inside, used by us apparently for showing a native Windows file chooser when browsing for local files and for deleting/moving files to Trash/Recycle bin in the Oxygen Project view (which does not exist in the Author Component).
Our code attempts first to find the DLLs in the "com.oxygenxml.editor.lib.dir" path, if it fails it attempts to load them directly from the Java classpath. But in any case we do not unpack the jar somewhere else. Also if our code does not find the dlls, it has fallbacks in place, for example it will show a Java JFileChooser when browsing for local resources instead of a native Windows file chooser.
Regards,
Radu
Re: Jar native-windows-helper
Posted: Fri Sep 23, 2022 6:51 pm
by Isabelle
Hello Radu,
Thank you for this informations.
Regards,
Isabelle