void (DnDEvent event) { EventContext eventContext = getEventContext(event.getPoint()); if (eventContext == null) return; if (eventContext.descriptor.canDrop(event, INTO)) { eventContext.descriptor.drop(event, INTO); } else { eventContext.descriptor.drop(event, eventContext.getPosition()); } event.hideHighlighter(); }