List of usage examples for java.awt.dnd DragSource addDragSourceListener
public void addDragSourceListener(DragSourceListener dsl)
From source file:unikn.dbis.univis.explorer.VExplorer.java
License:asdf
private void initDragAndDrop() { DragSource dragSource = DragSource.getDefaultDragSource(); dragSource.addDragSourceListener(tree); dragSource.createDefaultDragGestureRecognizer(tree, DnDConstants.ACTION_COPY, tree); }