boolean (DnDEvent aEvent) { if (aEvent.getCurrentOverComponent() == delegate1Label) { return aEvent.delegateUpdateTo(delegee1); } else if (aEvent.getCurrentOverComponent() == delegate2Label) { return aEvent.delegateUpdateTo(delegee2); } aEvent.setDropPossible(false, "Nothing can be dropped here"); return false; }