pdf file within java applet - tutorial

L

Lukasz Borcz

Hi!

Is there any tutorial on how to display pdf file in java applet using pjx library?

Thanx
Lukasz
 
A

analogueboy

Don't mean to be a smart ass, but why would u want to show it in an applet
when the browser can disply it for you?
 
A

Andrew Thompson

analogueboy said:
...
Don't mean to be a smart ass, but why would u want to show it in an
applet when the browser can disply it for you?

I'd go one step further and ask why folks want
to present a document format specialized to be
printed on paper in the web environment at all,
that is what HTML was designed for.
 
M

Matt Humphrey

Andrew Thompson said:
I'd go one step further and ask why folks want
to present a document format specialized to be
printed on paper in the web environment at all,
that is what HTML was designed for.

I have worked for some clients where they required that what the user saw on
the screen was identical to the printed copy and PDF does that very nicely.
And, of course, there are plenty of enormous document repositories out there
that are already in PDF.

Cheers,
Matt Humphrey (e-mail address removed) http://www.iviz.com/
 
A

analogueboy

i agree, pdf is closer to print, but why use an applet in the jvm rather
than the pdf viewer plugin?
 
A

Andrew Thompson

Matt said:
I have worked for some clients where they required that what the user
saw on the screen was identical to the printed copy and PDF does that
very nicely.

That would certainly explain it.

But it does bring us back to why you just do
not display the PDF directly in the browser.
..And, of course, there are plenty of enormous document
repositories out there that are already in PDF.

It is a pity that folks want to display
PDF's on the web though.
 
M

Matt Humphrey

analogueboy said:
i agree, pdf is closer to print, but why use an applet in the jvm rather
than the pdf viewer plugin?

^^Warning: Circular discussion thread! Discussion terminated abnormally.



(We're still waiting for the OP to answer that.)
 
M

Matt O'Toole

Andrew said:
It is a pity that folks want to display
PDF's on the web though.

Yes it is.

However, sometimes a PDF is all there is. The original text and picture files
are long gone, and all you have to work with is a PDF, sometimes of a scanned
paper copy. Even if that's not the case, sometimes it's too much extra work to
put the info into HTML. Finally, some people still like to print out paper
copies. It sucks, but clients and PHBs demand it anyway.

Matt O.
 
L

Lukasz Borcz

analogueboy said:
Don't mean to be a smart ass, but why would u want to show it in an applet
when the browser can disply it for you?

Here is why: i'm supposed to let users see documents but also not let
them download them. That is why i chose java applet. Any suggestions
on that issue would by appreciated.

Tnx
Lukasz
 
Joined
Aug 19, 2010
Messages
2
Reaction score
0
Handle PDF in Java Applications

Qoppa Software delivers a number of libraries for handling, creating, printing, and manipulating PDF documents within applications. Built on Qoppa's proprietary technology, these libraries (and the desktop applications) are 100% pure Java, so are multi-platform. You can download trial versions of any of them at no cost. Just visit their website to see more details.
 
Joined
Aug 25, 2010
Messages
1
Reaction score
0
You can also try IcePdf and jpedal which both have Open Source versions and enhanced commercial releases.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top