need to access custom component in Drag And Drop Wrapper

On a drop handler, I’ve stored the dropped custom component in a drag and drop wrapper. The custom component actually consists of 3 other components. I’m trying to access the custom component but the data type is of the DragAndDropWrapper, how do i access the custom component inside the wrapper?

On the drophandler:

		WrapperTransferable t = (WrapperTransferable) event.getTransferable();
		WrapperTargetDetails details = (WrapperTargetDetails) event.getTargetDetails();
		
		pictureTable.addComponent(t.getSourceComponent());		
		//pictureTable.addComponent(t.getDraggedComponent())

on the source:

		    DragAndDropWrapper pw = new DragAndDropWrapper(currPic);
		    pw.setDragStartMode(DragStartMode.WRAPPER);
		    pw.setSizeUndefined();

I accidently ran across the answer from another message board:

https://vaadin.com/forum/-/message_boards/view_message/321144?_19_redirect=https%3A%2F%2Fvaadin.com%2Fforum%2F-%2Fmessage_boards%2Fsearch%3F_19_keywords%3DgetCompositionROot%26_19_searchCategoryId%3D0%26_19_breadcrumbsCategoryId%3D0%26_19_redirect%3Dhttps%253A%252F%252Fvaadin.com%252Fforum%252F-%252Fmessage_boards%253F_19_topLink%253Dmy-posts

if you cant see the link, just do a search on getcompositionroot.