void (DropTargetDragEvent dtde) { try { DraggedComponentList dcl = DraggedComponentList.fromTransferable(dtde.getTransferable()); if (dcl != null) { myDraggedComponentList = dcl; myComponentDragObject = dcl; processDragEnter(dcl, dtde.getLocation(), dtde.getDropAction()); dtde.acceptDrag(dtde.getDropAction()); myLastPoint = dtde.getLocation(); } else { ComponentItem componentItem = SimpleTransferable.getData(dtde.getTransferable(), ComponentItem.class); if (componentItem != null) { myComponentDragObject = new ComponentItemDragObject(componentItem); dtde.acceptDrag(dtde.getDropAction()); myLastPoint = dtde.getLocation(); } } } catch (Exception e) { LOG.error(e); } }