Link

Can the JPedal Viewer be used in JavaFX?

Yes, but we do not recommend it.

The JPedal Viewer has been created using Swing components with some JavaFX used in the Viewers PageFlow mode.

Whilst JavaFX has a node for embedding Swing content in JavaFX the interaction between the two systems can cause issues not seen when performing the equivalent actions in Swing components.

When integrating the two you may encounter rendering issues ranging from page content not rendering to misplaced components on the user interface. Due to these issues being caused by the interaction between the two systems we so not provide support for issues caused by Swing and JavaFX interaction (outside what is used internally for the Viewer).