question: private static void showPreferenceWindow ( final GUIFactory currentGUI ) { properties = currentGUI . getProperties ( ) ; init ( currentGUI ) ; loadSettings ( ) ; borderPane . setLeft ( setupSideNavBar ( ) ) ; borderPane . setCenter ( getGeneralContent ( ) ) ; borderPane . setBottom ( setupBottomBar ( currentGUI ) ) ; preferenceDialog = new FXDialog ( null , Modality . APPLICATION_MODAL , borderPane , 550 , 450 ) ; preferenceDialog . setTitle ( Messages . getMessage ( "PdfPreferences.windowTitle" ) ) ; preferenceDialog . show ( ) ; }
target:  Ensure Dialog is Setup & Display Preference Dialog.