Mailing Lists: Apple Mailing Lists

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

DropTargetAdapter missing events



Hi,

I have a JPanel on which I've added a addDropTargetListener( new DropReactorHandler() );

DropReactorHandler extends DropTargetAdapter
{}


If I do drags & drops in a normal matter it works as expected.
I would get: dragEnter, dragExit or drop

But if I do my drags & drop REALLY fast,
I get:
dragEnter
dragEnter
dragEnter
drop

3 dragEnter???

or is some cases just a:
dragEnter

where did the dragExit or drop go?


When dragEnter occures a thread starts which has an animation in the panel, and this never ends since these is no dragExit or drop event.

I don't see anything in my code, but why do I get more than 1 dragEnter, and no dragExit or drop event - when I move the mouse REALLY fast.




Yours sincerely,
            Mohsan Khan.
_______________________________________________________________
Programmer, Animator, Musician
www.xybernic.com
There is no place like 127.0.0.1.
If everybody would give everybody a million would everybody be millionaires?
Nothing has got to do with anything, and something has got to do with everything.


 _______________________________________________
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.