org.pdfbox.pdfviewer
Class PDFPagePanel
JPanelorg.pdfbox.pdfviewer.PDFPagePanel
public class PDFPagePanel
extends JPanel
This is a simple JPanel that can be used to display a PDF page.
void | paint(Graphics g)-
|
void | setPage(PDPage pdfPage)- This will set the page that should be displayed in this panel.
|
PDFPagePanel
public PDFPagePanel()
throws IOException Constructor.
paint
public void paint(Graphics g)
setPage
public void setPage(PDPage pdfPage)
This will set the page that should be displayed in this panel.
pdfPage - The page to draw.