Re: Applet printing exception
Ramu wrote:
hi,
Please refrain from top-posting. It is most confusing.
This is my code snippet.
Please don't waste our bandwidth with snippets, since..
...could u find the mistake in this code.if i run
this applet i am getting exception and if i run this code as normal
java application ...
....
The code as posted is not compilable in any place
but your environtment due to the ..
a) import of import org.pdfbox.*;
...and other reasons it cannot be comipled are..
b) line wraps intorduced in posting long code lines to usenet
c) 2+ missing code parts (I.E. starting with the failure
to declare 'SimpleDoc', nor. declare and instantiate 'fin'
...and after having kludged the 'snippet' to fix those errors,
I then find it ..
d) it has no main()!
I suggest you stop wasting our bandwidth, and your time,
by posting an SSCCE of code that fails. For description
and hints, see..
http://www.physci.org/codes/sscce
So.. coming back to..
...could u find the mistake in this code.
Do you mean.
"Could you find the mistake in this code?"
(note the Upper Case first letter, correct spelling
of 'you', and closing '?' - which denotes a question)
No. I will look no further at it.
Andrew T.