• Post Reply Bookmark Topic Watch Topic
  • New Topic

viewing and printing PDF file from Swing application.

 
Sumana Reddy
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to view PDF files and also print PDF files from Swing application.How do I do that?I appreciate your help
Thanks
Sumana Somareddy
 
Rene Liebmann
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
in this case, I would use the java based Application from Adobe. As I know, they are free, but they are also written with AWT. So you shouldn't include this in your Main window. It should be in a new Frame without any menu on the top. This would be ugly because of the Lightweight Heavyweight problem. You can download this from Acrobat viewer
 
Sumana Reddy
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rene Liebmann
Thank you for your reply.
I tried Java based Acrobat Viewer.But it has got font problems and out of memory problem.I could not open my PDF file in it.Adobe has no support for it and I came to know through the user forums that many others using it have got the same problems and suggested not to go for it as Adobe has no plans of improving it in future.
Do you know any URLS or links other than Adobe from where I can get more information about Acrobat viewer?
I appreciate your help and time
Regards
Sumana
 
Rene Liebmann
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sumana,
sorry, but I can't give you any hints about Adobe Java Viewer. Also, I had no problems to embed it into my Application. The viewer was able to show any PDF. But we gave the customers the possibility to use the native Acrobat reader as well. Maybe this is also a solution for you?
Bye
Rene
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!