Thanks for pointing it out! My bad! I really appreciate your help!
It was the ambiguity bug and you were right i was too caught up in it.I was
thinking more intems of the right version of the jar than thinking it as a java
bug. and i zeroed in on the error as soon as i sent the mail.
And i am sorry i shouted URGENT. When you have one day to research about all
the java pdf libraries and try them out and find the best one suitable for your
application and incorporate it in your application, i guess i ran out of time
and was not thinking straight..atleast for a moment when i sent the mail. But i
figured it out. You can believe me when i said i am new to itext.
veena.> Date: Thu, 20 Mar 2008 17:53:26 +0100> From: [EMAIL PROTECTED]> To:
[email protected]> Subject: Re: [iText-questions] URGENT> >
> hi,> > > > I am new to itext.> > I don't see why that is relevant.> > > I am
using jdk1.6, i downloaded the latest itext.jar 2.0.8 , added it to > > my
project, tried an example code. but i am having trouble with the > > Textfield
class.> > OK.> > > This is the line that is generating the error:> > > >
com.lowagie.text.pdf.TextField tf = new > >
com.lowagie.text.pdf.TextField(writer, new Rectangle(67, 785, 340, 800), > >
"Who");> > You fully qualified TextField. Why?> Did you also import
java.awt.*?> If so, that could be the reason because there's also> a
java.awt.TextField. But then why don't you fully> qualify Rectangle, because
there's a java.awt.Rectangle> and a com.lowagie.text.Rectangle. You need the
latter> because there's no constructor with the java.awt.Rectangle> in
com.lowagie.text.pdf.TextField.> > > I get this error:> > > > "test.java":
cannot find symbol; symbol : constructor > >
TextField(com.lowagie.text.pdf.PdfWriter,java.awt.Rectangle,java.lang.String),
> > location: class com.lowagie.text.pdf.TextField at line 362, column 69> >
Aha, your error message is right. There is no such constructor.> The
constructor you need is >
TextField(com.lowagie.text.pdf.PdfWriter,com.lowagie.text.Rectangle,java.lang.String)>
not>
TextField(com.lowagie.text.pdf.PdfWriter,java.awt.Rectangle,java.lang.String)>
Do you see the difference?> > > Any help would be appreciated.> > Was it really
necessary to shout "URGENT"? You would> easily have found the answer yourself
if you had done> some effort. This question was completely off-topic on> this
iText forum: it was a simple Java issue.> > Please understand that many people
just discard mails> with "URGENT" as subject, whereas others get angry.> It is
considered to be very impolite to claim something> is urgent (after all you are
using free software, you> don't have the right to DEMAND assistance).> >
Moreover I don't believe you. It's not very credible> to let people who are new
to iText give an assignment> that involves PDF forms. Especially since your
problem> was that trivial (with a very obvious answer) I think> you were just
lazy and I hope you'll think twice before> posting another question.> > best
regards,> Bruno> >
-------------------------------------------------------------------------> This
SF.net email is sponsored by: Microsoft> Defy all challenges. Microsoft(R)
Visual Studio 2008.> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/>
_______________________________________________> iText-questions mailing list>
[email protected]>
https://lists.sourceforge.net/lists/listinfo/itext-questions> Buy the iText
book: http://itext.ugent.be/itext-in-action/
_________________________________________________________________
Post free property ads on Yello Classifieds now! www.yello.in
http://ss1.richmedia.in/recurl.asp?pid=219
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/