|
|
@ -326,9 +326,10 @@ public abstract class RefreshableJTree extends CheckBoxTree { |
|
|
|
Rectangle pathBounds = getPathBounds(closestPath); |
|
|
|
Rectangle pathBounds = getPathBounds(closestPath); |
|
|
|
|
|
|
|
|
|
|
|
if(pathBounds != null && |
|
|
|
if(pathBounds != null && |
|
|
|
y >= pathBounds.y && y < (pathBounds.y + pathBounds.height)) |
|
|
|
y >= pathBounds.y && y < (pathBounds.y + pathBounds.height)) { |
|
|
|
return closestPath; |
|
|
|
return closestPath; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|