You also need a cb.stroke() or cb.fill() after the rectangle. 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of [EMAIL PROTECTED]
> Sent: Monday, January 10, 2005 7:44 AM
> To: [email protected]
> Subject: [iText-questions] PdfContentByte -another question
> 
> Hi,
> 
> first of all I'd like to thank Paulo for explaining to me how 
> to move a
> JTable graphic which is in a PdfContentByte. Everything works well.
> 
> But my JTable has lost two borders and I want to repaint them. But
> cb.rectangle() does nothing. I also tried graphics.drawLine, 
> but either the
> border is painted or the JTable. But I want both at the same time...
> 
> Any idea how I can do this?
> 
> Thanks in advance
> 
> Regards,
> 
> Katrin
> 
> -- 
> +++ GMX - die erste Adresse für Mail, Message, More +++
> 1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to