title: icepdf not render on linux instance in JFrame
body: <p>I am using <code>icepdf</code> in my web project. It works fine when I run this project in eclipse and also run when I use this project war on tomcat version 8/9. But when I deploy this war in Linux instance all goes fine but pdf does not render in <code>JFrame</code>. My java version and tomcat version also same as i locally use.</p>
  
  <p>Here is my code</p>
  
  <pre><code>import org.icepdf.ri.common.SwingController;
  import org.icepdf.ri.common.SwingViewBuilder;
  import java.io.InputStream;
  import javax.swing.*; 
  public class PdfPreview {
  public static void pdfPreview(InputStream stream) {
  
      // build a component controller
      SwingController controller = new SwingController();
  
      SwingViewBuilder factory = new SwingViewBuilder(controller);
  
      JPanel viewerComponentPanel = factory.buildViewerPanel();
  
      // add interactive mouse link annotation support via callback
      controller.getDocumentViewController().setAnnotationCallback(
              new org.icepdf.ri.common.MyAnnotationCallback(
                      controller.getDocumentViewController()));
  
      JFrame applicationFrame = new JFrame();
      applicationFrame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
      applicationFrame.getContentPane().add(viewerComponentPanel);
  
      // Now that the GUI is all in place, we can try openning a PDF
      controller.openDocument(stream, "Pdf Viewer", null);
      // show the component
      applicationFrame.pack();
      applicationFrame.setVisible(true);
  }}
  </code></pre>
  
  <p>Here <code>stream</code> is coming from a source </p>