In this example, we'll create the following table using iText 5:
We need the PdfPTable and PdfPCell class to achieve this:
public void createPdf(String dest) throws IOException, DocumentException {
Document document = new Document();
PdfWriter.getInstance(document, new FileOutputStream...