1. I got a class (customer) which has attributes, name address etc. I need to export them into a pdf file. I am trying this the whole
day and i can't figure it out. Here is the code:

2. I am trying to get the array list of "KLantObject" in the pdf file, i have searched for text tutorials but i can't find where they put in an array list, I hope someone is able to help me

package Entity;

import java.io.FileOutputStream;

import com.itextpdf.text.Chunk;
import com.itextpdf.text.Document;
import com.itextpdf.text.Paragraph;
import com.itextpdf.text.pdf.PdfWriter;

import Entity.Klantenlijst;
import Entity.Klant;
* @author Thomas
public class FactuurPDF {
private static Document KLant = null;
private Document KLantObject = null;
private static Document document = null;

public static void main(String [] args) throws Exception{
PdfWriter.getInstance(document,new FileOutputStream("metaDataPdf.pdf"));
KLant.add(new Paragraph("Rose india"));

In the following code i got the array list(which is in another package "control")

package Control;

import java.util.ArrayList;

import Entity.EigenRisico;
import Entity.Klant;
import Entity.Klantenlijst;
import Entity.Verzekering;

public class Klantenmanager {

private Klantenlijst lijst;

public ArrayList<Klant> getklantgegevens()
return lijst.getKlantenlijst();

public void klantToevoegen(String voornaam, String achternaam, String adres, String huisnummer, String postcode, String woonplaats, int Sofinummer, int telefoonnummer, int eigenrisico, Verzekering verzekering)
lijst.addKlant(new Klant(voornaam, achternaam, adres, huisnummer, postcode, woonplaats, Sofinummer, telefoonnummer, new EigenRisico(eigenrisico), verzekering));

public void klantVerwijderen(Klant klant)

public void klantBewerken()


I also got another class "Klant" in package "entity"

Would appreciate the help