I would like to print my Swing JComponent via iText to pdf.
JComponent com = new JPanel(); com.add( new JLabel(\"hello\") ); PdfWriter writer = PdfWriter.g
I have figured it out adding addNotify and validate helps.
com.addNotify( ); com.validate( );
I needed to call
com.addNotify() com.setSize() com.validate()
I don't know that much about iText, but... you did close the PdfWriter at some point, right?
PdfWriter