title: How to visualize a pdf in Java Swing frame using Apache pdfbox 2.0.8 whitout converting it to an image
body: <p>I'm looking for sample codes that allow me to display a PDF file in a Java Swing window. I saw an example in Apache SVN but it turns them into images, besides it does not work because I have particular fonts that it can not handle.</p>
  
  <p><a href="https://svn.apache.org/viewvc/pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/rendering/CustomPageDrawer.java?revision=1771345&amp;view=markup" rel="nofollow noreferrer">https://svn.apache.org/viewvc/pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/rendering/CustomPageDrawer.java?revision=1771345&amp;view=markup</a></p>
  
  <p>Thank you</p>