Hi, I'm trying to export a JPanel to a pdf file using the Graphics2D object which can be obtained as:
PdfContentByte cb = writer.getDirectContent(); PdfTemplate tp = cb.createTemplate(w, h); Graphics2D g = tp.createGraphics(w, h, mapper); when I print the JPanel myPanel.print(g); or myPanel.paint(g); every thing gets displayed in the pdf file except for borders. If the panel or any of the components contained in the JPanel had a border, the border does not appear in the pdf document. has anyone run into the same problem before? Thanks to all Nabil ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions