• Post Reply Bookmark Topic Watch Topic
  • New Topic

PDF in Jeditorpane  RSS feed

 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I just want to view a pdf in Jeditorpane. Any APIs available ? any others suggestions.

Please assist me
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PDFs are not for editing, so JEditorPane would likely not be the right way to go. The PDFRenderer library (on dev.java.net) can display PDFs using Swing.
 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply,

My requirement is to print the pdf not to edit in Jeditorpane.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's the kind of information that should have been in the original post.

PDFRenderer can do that too.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!