[4980] in java-interest
Drag and Drop
daemon@ATHENA.MIT.EDU (John Shiple)
Wed Jan 24 23:55:10 1996
Date: Wed, 24 Jan 1996 19:09:14 -0800 (PST)
From: John Shiple <johns@wired.com>
To: Java Mailing List <java-interest@java.sun.com>
I have a test of some of the Drag and Drop stuff I've been working on.
Check out:
http://www.hotwired.com/staff/johns/dragndrop/
When the mouse is being tracked, I can't get the rect that is drawn to
display over other elements. Anyone have any ideas or suggestions? Maybe
because my objects aren't really components they aren't in the hierarchy
of things to be drawn and thus can't be put ahead of other components? If
so, how do I force the other components to be drawn before my custom objects.
Presently I have 3 classes...a draggable class (extends object), a
droppable class (extends object), and a container class (extends panel).
My next step is to attempt to put everything into interfaces...which
would allow me to have draggable canvases/etc...maybe this will give me
the ability to remove then add elements to put them on top...but then I
wonder if the mouse tracking will still draw correctly.
Feedback welcome...
-=John
Wiggum is law.
-don't answer questions-
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com