Using with Java Modules
JPedal contains a module-info.java file, which means it can be used in modular applications.
The module name is com.idrsolutions.jpedal
.
module MyApp {
requires com.idrsolutions.jpedal;
}
Using Page Flow Mode
If you are using page flow mode in the JPedal Viewer, this will require 2 OpenJFX modules (javafx.controls
and javafx.swing
). You will need to:
-
Go to the OpenJFX site here and download the JavaFX SDK
-
When running the JPedal jar from the command line, add the 2 required modules to the module path
For example:
java --module-path "javafx-sdk-11/lib/" --add-modules=javafx.controls
--add-modules=javafx.swing -jar "jpedal.jar"