This document provides code samples for implementing drag-and-drop functionality in a Wicket application using the wicket-dnd library. It includes the HTML and Java code for a simple page with two labels that can be dragged and dropped within a container component. The code adds DragSource and DropTarget behaviors to the container to enable dragging and dropping of the label components. It also defines handlers for drag and drop events.