1094 |
{ |
{ |
1095 |
if (!contains(x, y)) |
if (!contains(x, y)) |
1096 |
return null; |
return null; |
1097 |
|
|
1098 |
for (int i = 0; i < ncomponents; ++i) |
for (int i = 0; i < ncomponents; ++i) |
1099 |
{ |
{ |
1100 |
// Ignore invisible children... |
// Ignore invisible children... |
1117 |
} |
} |
1118 |
|
|
1119 |
//don't return transparent components with no MouseListeners |
//don't return transparent components with no MouseListeners |
1120 |
if (this.getMouseListeners().length == 0) |
if (getMouseListeners().length == 0 |
1121 |
|
&& getMouseMotionListeners().length == 0) |
1122 |
return null; |
return null; |
1123 |
return this; |
return this; |
1124 |
} |
} |