1060 |
* otherwise the top-most component (out of this container itself and |
* otherwise the top-most component (out of this container itself and |
1061 |
* its descendants) meeting the criteria above. |
* its descendants) meeting the criteria above. |
1062 |
*/ |
*/ |
1063 |
public Component findComponentForMouseEventAt(int x, int y) |
Component findComponentForMouseEventAt(int x, int y) |
1064 |
{ |
{ |
1065 |
synchronized (getTreeLock()) |
synchronized (getTreeLock()) |
1066 |
{ |
{ |
2013 |
* location, otherwise the appropriate component from the conditions |
* location, otherwise the appropriate component from the conditions |
2014 |
* above. |
* above. |
2015 |
*/ |
*/ |
2016 |
public static Component getDeepestComponentForMouseEventAt ( |
Component getDeepestComponentForMouseEventAt ( |
2017 |
Component parent, int x, int y) |
Component parent, int x, int y) |
2018 |
{ |
{ |
2019 |
if (parent == null || (! parent.contains(x, y))) |
if (parent == null || (! parent.contains(x, y))) |