• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

viewing and printing PDF file from Swing application.

 
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
 
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
 
And inside of my fortune cookie was this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!