Class FileDnDTarget

  • All Implemented Interfaces:
    DropTargetListener, EventListener

    public class FileDnDTarget
    extends Object
    implements DropTargetListener
    This class provides all the functionality to work out when files are dragged onto a particular JComponent instance, and then notifies listeners via the standard PropertyChangesListener semantics to indicate that a list of files have been dropped onto the target.

    If you wish to know whan the files have been dropped, subscribe to the "fileList" property change.

    Author:
    psmith