List of usage examples for java.awt.dnd DropTargetListener interface-usage
From source file DragDropTreeExample.java
class FileTreeDropTarget implements DropTargetListener, PropertyChangeListener { public FileTreeDropTarget(FileTree tree) { this.tree = tree; // Listen for changes in the enabled property tree.addPropertyChangeListener(this);