Hi,

I'll just answer my own post in case anyone else is interested.  I wrote a
little Drag-n-drop handler for JDK1.1.  It just does intra-jvm dnd, but
that's all I need anyways, and as far as I can see doing anything would
require native code.  I made an interface for components that want to do
Dnd with methods like dragStarted(), dragCancelled(), dropCheck(), and
dropPerformed(), and then the DnD handler can just detect drags, watch for
drops, and then ask the source and target if they want to do a drop.
Simple.  When a drop happens (which is just a mouseReleased event), you
just have to figure out which component the drop happenend in.  Easy.

dstn.


----------------------------------------------------
--     Dustin Lang, [EMAIL PROTECTED]    --
User, n.: a particularly  slow and unreliable input/
output  device  that  is  attached by default to the
standard input and output streams.
----------------------------------------------------


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to