Details
Description
A client has been having trouble with usability related issues with the open and save dialogs for the viewer RI on various version of Linux using the Swing toolkit. I've also noticed similar issue on Windows as the default Windows 10 UI chooser are not used, instead something more like windows 2000 styling.
Ideally the building class would have provided the dialog implementation but there is no common interface for Swing and JFX. So as a result I've put in a system property org.icepdf.ri.viewer.jfx.dialog=false. Everything works as before with Swing as the default. When enable the save and open dialog use the new pretty dialogs provided by javaFX. There is one limitation to JavaFX in that the open dialog can't set a default file path.