void (final DnDEvent aEvent, final JLayeredPane aLayeredPane, final Rectangle aRectangle) { myHighlighterShowRequest = () -> { if (myCurrentEvent != aEvent) return; Highlighters.hide(DnDEvent.DropTargetHighlightingType.TEXT | DnDEvent.DropTargetHighlightingType.ERROR_TEXT); if (aEvent.isDropPossible()) { Highlighters.show(DnDEvent.DropTargetHighlightingType.TEXT, aLayeredPane, aRectangle, aEvent); } else { Highlighters.show(DnDEvent.DropTargetHighlightingType.ERROR_TEXT, aLayeredPane, aRectangle, aEvent); } }; myTooltipTimer.restart(); }