Skip to main content

PDFRenderer: Maximizing the size of the pdfViewerPanel within the display panel

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2014-02-17

Is there a way to maximize (or zoom) a rendered image within the size of a JPanel? No matter what I do to set the preferred size of the pdfViewerPanel (to match the dimensions of the destination JPanel), there is still about 150 pixels of gray space or margin on either side of the pdfViewerPanel.

Thanks in advance for any help you can provide me!