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: Drag and Drop Problems



Tom Condon <email@hidden> wrote:

>In my dragOver() method I get the
>position of the event and print it out to standard out after using
>SwingUtilities.convertPointFromScreen(). The y value of the point seems to
>be off by
>about 20 pixels.

Maybe it's a coincidence or maybe it's a clue, but "about 20 pixels" is the
height of a Frame/JFrame's title bar. I forget whether this is reflected
in the Frame's insets or not.

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