Questions tagged [openviewerfx]

The OpenViewerFX is the successor of the open source JPedal PDF Viewer. It still uses the old jpadal code as a base but the GUI part was rewritten in JavaFX. (The project is sometimes also referred to as JavaFX PDF Viewer)

OpenViewerFX is an open source JavaFX PDF viewer. It is licensed under LGPL license and is purely written in Java which makes it a cross-platform PDF Reader/Viewer. It can be integrated into an existing Java application or can be used as a standalone application.

More information and the source code is available on github.

3 questions
2
votes
0 answers

How to display image with OpenViewerFX

I am using the OpenViewerFX component to display PDF files in my JavaFX application. https://github.com/IDRSolutions/maven-OpenViewerFX-src I managed to do so without a problem, but I also need to display image files in the viewer. @Override public…
johndoe
  • 31
  • 2
1
vote
1 answer

Error displaying some PDFs with OpenViewerFX

I am using OpenViewerFX (JPedal) to display PDF files in a JavaFX application. Some files are displayed well, others only show not printable characters (in documents created by myself and also documents from other people). See for example this…
Flat Eric
  • 7,971
  • 9
  • 36
  • 45
1
vote
0 answers

Why is OpenViewerFX's .loadPDF returning a null pointer exception?

In openviewerFX, when I call JFileChooser to save my pdf, it saves, but right after that, it is supposed to open a BaseViewerFX window and display said saved PDF. When I run the program however, JFileChooser comes up, it saves, and then when it is…
Rahul Shah
  • 141
  • 2
  • 12