Reputation: 1
How do I detect when something like a JLabel is dragged off a component? I am trying to create an effect like the OS X dock when removing applications from it.
I've tried using DragSourceContext's dragDropEnded() method to detect when a component has been dropped, but it has a delay because it seems to wait until the transfer is done processing.
Anyone deal with this before?
Upvotes: 0
Views: 60