----- Original Message ----- From: "Katz, Neal" <[EMAIL PROTECTED]> To: "'Paulo Soares'" <[EMAIL PROTECTED]>; "Katz, Neal" <[EMAIL PROTECTED]>; <[email protected]>
Sent: Wednesday, March 01, 2006 1:45 PM
Subject: RE: [iText-questions] PDFGraphics2D and Swing borders



Is there any plan to fix this in an upcoming release?

No. I don't use Graphics2D and I've plenty of other things to do in iText.


If not, can you suggest a general strategy by which I can patch the problem?

It's not easy. It currently creates a new instance of PdfGraphics2D each time create() is called and all the instances are added at the end in dispose(). It should create the instances as it does but insert them in the position where created() was called. The problem is keeping track of the graphic state.

Paulo


-----Original Message-----
From: Paulo Soares [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 01, 2006 6:34 AM
To: Katz, Neal; [email protected]
Subject: Re: [iText-questions] PDFGraphics2D and Swing borders


That's not fixed. It's a drawing order problem caused by create().

----- Original Message ----- From: "Katz, Neal" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, February 28, 2006 10:21 PM
Subject: [iText-questions] PDFGraphics2D and Swing borders



Hi,

I'm using an old version of iText (downloaded in 2004) without any of the
fancy API calls.  I create a PDFGraphics2D object and pass it in to the
standard paint methods in my Java code.  Overall, this works fine except
for 1 thing: borders. I have a spreadsheet component created with Java
Swing classes and each cell is painted as a JLabel with a Swing border
object. The JLabel component paints fine but the border does not seem to
paint (I've confirmed that the paintBorder method is being called). The
result is a spreadsheet missing grid lines.

I haven't found this issue mentioned anywhere - is it known or has this
been fixed in a later release?

Thanks,

Neal Katz

==============================================================================
Please access the attached hyperlink for an important electronic
communications disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions


==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to