Mailing Lists: Apple Mailing Lists

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

DropTargets and compound components



Good evening guys,

Question about Java drag and drop. Is a component that is NOT a drop
target supposed to let the parent container, which IS a drop target, see
the drag events?

Case: I have a JPanel that contains another JPanel. Only the containing
JPanel is a drop target. With the 1.4.2 VM, all the drag events get
handled properly. When I run this code with the 1.3.1 VM, it doesn't
work, drag events don't get to the containing JPanel when they occur in
the contained JPanel. I'm trying to figure out which behavior is the
correct one, as per the Java spec or other platforms?

Thanks,

Steve
--
Steve Roy <email@hidden>
Personal homepage: <http://homepage.mac.com/sroy>
Projects homepage: <http://www.roydesign.net>
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.




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.