Can I use iText to render PDF in my Swing applicat

2019-02-24 15:36发布

问题:

Can iText render PDF documents in Swing application ? Or do I have to use another library/framework for that?

回答1:

iText is for producing PDF files programmatically (e.g. converting from HTML to PDF, or producing PDF reports.)

To view PDF you could use a library like ICEpdf



回答2:

There is also an open source/commercial versions of JPedal and Suns PDFRenderer.