public boolean crossesLeftBorder(Point borderPoint) {
if ((!wasMeasured) || (borderPoint == null)) {
return false;
}
int xR = leftX + MOUSE_TOLERANCE;
<BUG>int yB = topY + getHeight();
return ((borderPoint.x >= leftX - MOUSE_TOLERANCE) && (borderPoint.x <= xR) && (borderPoint.y <= yB) && (borderPoint.y >= topY));</BUG>
}
public boolean crossesRightBorder(Point borderPoint) {
if ((!wasMeasured) || (borderPoint == null)) {

public boolean crossesLeftBorder(Point borderPoint) {
if ((!wasMeasured) || (borderPoint == null)) {
return false;
}
int xR = leftX + MOUSE_TOLERANCE;
int yB = getBottomY();
return ((borderPoint.x >= leftX - MOUSE_TOLERANCE) && (borderPoint.x <= xR) && (borderPoint.y <= yB) && (borderPoint.y >= topY));
}
public boolean crossesRightBorder(Point borderPoint) {
if ((!wasMeasured) || (borderPoint == null)) {
