Determine whether the given component can accept the given data flavors.
Parameters: c - the component that potentially takes an import Parameters: flavors - the list of flavors that describes the importable data See Also:javax.swing.TransferHandler.canImport(javax.swing.JComponentjava.awt.datatransfer.DataFlavor[]) true if the component can import the given data flavor, falseotherwise
Handle the drop part of the drag&drop.
Parameters: c - the component on which the transferable is being dropped Parameters: t - the object being dragged true if the item can be imported into this component, falseotherwise