Back to Projects

PDFViewFX

Display PDF documents natively inside your JavaFX application — powered by Apache PDFBox.

Screenshots

PDF viewer with page navigation and zoom
PDF viewer with page navigation and zoom
Built-in full-text search
Built-in full-text search

Key Features

PDF Rendering

Renders any PDF file using Apache PDFBox — no native libraries required.

Full-text Search

Built-in search highlights all occurrences across all pages.

Zoom & Pan

Smooth zooming and panning with mouse wheel and gesture support.

Page Navigation

Thumbnail sidebar and direct page-number jumping.

AtlantaFX Theme

Ships a ready-made AtlantaFX stylesheet for modern dark/light themes.

Easy Integration

Drop in a single PDFView control — no complex setup needed.

Getting Started

Add the dependency to your project:

Maven
<dependency>
  <groupId>com.dlsc.pdfviewfx</groupId>
  <artifactId>pdfviewfx</artifactId>
  <version>1.2.0</version>
</dependency>
Gradle
implementation 'com.dlsc.pdfviewfx:pdfviewfx:1.2.0'