Select Multiple Elements With Mouse Drag

Hi,

I am using Vaadin 7.7.16. I want to select multiple elements by dragging mouse - Dragging a mouse over a area selects the components present in the area.
How can I achieve this?