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
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