Show PDF in your application [Updated June 2021]

Edit : This article has been updated to be compliant with PDF.js version 2.8.335. For Java 8 and at least 11 you need to use the “Prebuilt (for older browsers)” version of PDFJS because the WebView does not seem to support ES6 features used in the “normal” PDFJS version. This tutorial has been tested using Java 8, 11, and early release of OpenJFX 17.

Long time no see! This article will explain one of the possible way for showing PDF file in your JavaFX application :


Continue reading “Show PDF in your application [Updated June 2021]”