image - Java Icon label -


my question how save icon image variable in java?

when values displayed sql database in jtextfields, can write them on pdf file in java. however, retrieve image database appears on jlabel.

how image appear on pdf file in java?

note details in jtextfields shown in pdf file when created.

i want image appear in pdf file.

image embed in pdf

string val8 = id.gettext(); icon val11 = lblimg.geticon();    try{     document doc = new document();     pdfwriter.getinstance(doc, new fileoutputstream("report.pdf"));     doc.open();      doc.add(new paragraph("employee information",          fontfactory.getfont(fontfactory.times_bold,18, font.bold,          basecolor.red)));     doc.add(new paragraph(         "______________________________________________________________________________"));     doc.add(new paragraph("employee id " + val)); 


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -