boolean (DnDEvent event) { boolean isDropPossible = isDropPossible(event); event.setDropPossible(isDropPossible); if (isDropPossible) { if (myAlarm.isEmpty()) { myAlarm.request(); } } else { myAlarm.cancelAllRequests(); } return !isDropPossible; }