Search code examples
javafxicepdf

Problem with displaying the ICEPDF toolbar


I am working on an application where I have to display a pdf in a viewer integrated into the application. To do this I use the ICEPDF library through a SwingNode because I use JavaFX. My problem is that the pdf loads correctly while the panel where the viewer action buttons are located is not visible directly on the viewer display. To display it, I have to hover with the mouse so that all the buttons appear as you can see on the screenshots.

Is there a way to make up for this problem because the end user will surely not know that it is necessary to execute this kind of contour.

enter image description here

enter image description here


Solution

  • Finally I found the solution, I just had to use the factory.buildUtilityToolBar(true) method instead of factory.buildCompleteToolBar(true)