Can use swing to preview pdf file?

Hei,

       Here i got one question....
       if inside PC there is dont have Acrobat Reader,
Can we use java swing to preview the pdf file..?

lhshyongAsked:
Who is Participating?
 
Jim CakalicConnect With a Mentor Senior Developer/ArchitectCommented:
Adobe has a Java-based viewer:
http://www.adobe.com/products/acrviewer/main.html

According to the web page:
"Acrobat Viewer can be licensed free to be bundled with Java-related products, or integrated into custom Java solutions through the JavaBean interface. Please read the End User License Agreement for details."

I don't really know anything more than that about it. HTH.

Best regards,
Jim Cakalic
0
 
tomboshellCommented:
Somewhere, somehow there needs to be a program to load the document and decode/mark-up the contents.  The Reader is free, should be no problem.  There are other open-source projects to work with that file format, but some programming &/ implementation must be done.  Start here for a Java library for working with the pdf format. http://www.lowagie.com/iText/

tom
0
 
vasan_srCommented:
Hi,
  From Java Swing u cannot preview a PDF file. There are some pdf readers(not acrobat reader) that will open the pdf file.

VasanS
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Venci75Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by: jim_cakalic
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venci75
EE Cleanup Volunteer
0
 
Jim CakalicSenior Developer/ArchitectCommented:
Thanks :-)
0
 
SpideyModCommented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0
All Courses

From novice to tech pro — start learning today.