RE: [iText-questions] Trouble painting Java-Component into PDF-Graphics2d

2002-09-26 Thread Paulo Soares
ized (kids) { kids.add(g2); } return g2; } Best Regards, Paulo Soares > -Original Message- > From: Lars Sitzmann [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, September 26, 2002 9:03 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Troubl

[iText-questions] Trouble painting Java-Component into PDF-Graphics2d

2002-09-26 Thread Lars Sitzmann
Hello, I still have trouble printing (or painting) any Swing-Component into an IText-Graphics2d! Below you find a simple "main" that creates a Graphics2D from an IText-Template and paints a simple JLabel into this graphics. The result is a corrupt PDF-Document that Acrobat-Reader does not open.