java.awt.dnd.InvalidDnDOperationException: Drag and drop in progress

S

shackman

i've implemented DnD. DnD from Java to Java and DnD from Native to Java
work fine. DnD from Java to Native works fine ONLY THE FIRST TIME. for
subsequent DnD from Java to Native attempts, i get

"java.awt.dnd.InvalidDnDOperationException: Drag and drop in
progress"

from

public void dragGestureRecognized(DragGestureEvent event)
{
...
event.startDrag(DragSource.DefaultMoveNoDrop, transferData,
dragSource);
...
}

It looks like the DnD in progress flag isn't being set by the native
code supplied with the JDK.

Anyone have a suggestion on how i can get past this problem?

Shackman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top