Did you try not closing the PDDocument so early (inputPDF.close())? I close the PDDocument when done, not when using a PDPage.

See also PDFReader.java in the sources.

Tilman

Am 11.02.2014 02:11, schrieb Jens Bodal:
I'm guessing either my code is incorrect or the PDF document isn't compatible, 
please let me know if you have any suggestions:
http://stackoverflow.com/questions/21689529/how-to-view-a-pdf-document-using-pdfboxs-pdfpagepanel

Jens [email protected]                                     

Reply via email to