Package net.thevpc.common.swing.file
package net.thevpc.common.swing.file
-
ClassDescriptionThis class makes it easy to drag and drop files from the operating system to a Java program.At last an easy way to encapsulate your custom objects for dragging and dropping in your Java programs! When you need to create a
Transferableobject, use this class to wrap your object.Instead of passing your data directly to theFileDrop.TransferableObjectconstructor, you may want to know exactly when your data was received in case you need to remove it from its source (or do anyting else to it).This is the event that is passed to thefilesDropped(...)method in yourFileDropListenerwhen files are dropped onto a registered drop target.Implement this inner interface to listen for when files are dropped.