@Override
    public void itemStateChanged(ItemEvent e) {
        //To change body of implemented methods use File | Settings | File Templates.
        if (e.getStateChange() == ItemEvent.SELECTED) {
            Object item = e.getItem();
            // do something with object
            if(item instanceof Persoon) {
                this.selectedPerson = (Persoon) item;
                System.out.println("object persoon" + selectedPerson);
            } else {
                System.out.println("null");
                this.selectedPerson = null;
            }
            if (item instanceof  Rekening) {
                this.rekening = (Rekening) item;
                setOverzicht(rekening);
                System.out.println("object rekening geselecteerd " + rekening);
            }
            else {
                System.out.println("null");
                this.rekening = null;
            }

        }
    }