posted 23 years ago
The getDragAction method of DragGestureEvent is supposed to return ACTION_COPY, ACTION_LINK, or ACTION_MOVE based on the state of the control and shift modifier keys. The action is actually determined in the DragGestureRecognizer. On windows and unix, ctrl gives ACTION_COPY, and ctrl-shift gives ACTION_LINK.
I haven't tried any of this yet. I'm just now reading the DnD chapter in Core Advanced Swing.....
Not much help, I know. Let me know if you get it to work!
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>"Those who cast the votes decide nothing. Those who count the<BR>votes decide<BR>everything." <BR> -Joseph Stalin<HR></BLOCKQUOTE>