p.s. the jtree version doesn't work here (mac os 10.4 / java 1.5), it
comes up after a while but it looks as if there's a busy infinite loop
in the awt thread ...
Am 02.05.2006 um 16:25 schrieb Sciss:
hi,
that's very nice! do you share the code under a certain license?
best, -sciss-
Am 02.05.2006 um 16:09 schrieb Timothy Wall:
There was a link posted recently that futzed with the UI delegate
and list model to make a JList animate list elements "getting out of
the way" while you dragged something over it.
I've taken the idea and made it generically applicable to any JList,
w/o modification of the JList, LAF, or model (you do have to provide
some code to say what happens when you actually drop an item, but
that's trivial). Then, with not much more than a query replace, I
applied the same technique to a JTree.
Check out the web-startable results:
http://rabbit-hole.blogspot.com/2006/04/smooth-jlist-drop-target-animation.html
http://rabbit-hole.blogspot.com/2006/05/and-now-on-tree.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden