Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dnd bug in 1.4.2 u2: sample program



>Ok, so I can see your bug. For me, it happens about 1
>time in 20 drags. 

Oddly, I see it a lot more frequently than that.  I
guess the fact that it is sporadic also implies that
it will occur without a consistent frequency across
platforms.  I'm on a G4 800 iBook.

>drags continue to work fine. I really don't see how
this >could have broken any applications, but maybe
you're >seeing a different consequence?

Correct.  It is causing a problem on a drag-and-drop
JTree that has a very important data structure as the
model behind the view that is being trashed by the
botched D&D operation.  Unlike the trivial sample
program, I've had to implement DragSourceListeners,
DropTargetListeners, etc.  It appears that when the
D&D op fails internally, it is an abnormal end to D&D
as opposed to something that would fire the right
methods with the right events.  I'm not 100% sure but
it doesn't look like I can catch this particular
exception so basically the drop fails w/o me actually
knowing it.

Thanks,
Brian
 _______________________________________________
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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.