Here is the code you need. However some documents specify the view type as well and will override this value.
SwingViewBuilder factory = new SwingViewBuilder(controller, properties,
null, false, SwingViewBuilder.TOOL_BAR_STYLE_FIXED, null,
Any chance you can give me some feedback on your JavaFX project development? Is this a new project you are building using JavaFX or porting an existing Swing/AWT application? Does the Swing Component hinder you at all? Would you like to see a JavaFX ICEpdf Viewer RI?