final LayoutContainer container = new LayoutContainer();
container.setLayoutOnChange(true);
container.setBorders(true);
container.setSize(200, 200);
DropTarget target = new DropTarget(container) {
@Override
protected void onDragDrop(DNDEvent event) {
super.onDragDrop(event);
Html html = event.getData();
container.add(html);
}
};
target.setGroup("test");
target.setOverStyle("drag-ok");
final LayoutContainer sourceContainer = new LayoutContainer();
sourceContainer.setLayoutOnChange(true);
sourceContainer.setWidth(100);