private Object extractTransferData(DropTargetDropEvent dtde){
  if (dtde == null) {
    Debug.message("defaultdndcatcher","ERROR> DefaultDnDCatcher::getTransferData(): dropEvent is null");
    return null;
  }
  Transferable tr=dtde.getTransferable();
  try {
    return tr.getTransferData(DefaultTransferableObject.OBJECT_FLAVOR);
  }
 catch (  Exception e) {
    e.printStackTrace();
    return null;
  }
}

private Object extractTransferData ( DropTargetDropEvent dtde ) { if ( dtde == null ) { Debug . message ( "defaultdndcatcher" , "ERROR> DefaultDnDCatcher::getTransferData(): dropEvent is null" ) ; return null ; } Transferable tr = dtde . getTransferable ( ) ; try { return tr . getTransferData ( DefaultTransferableObject . OBJECT_FLAVOR ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; return null ; } }
gets the object that is passed in transferable in droptargetdropevent .
