public int lineAtPoint(Point point) {
    CodeDisplayCoordinate coordinate = new CodeDisplayCoordinate(0, 0, 0, 0);
    fillCoordinateFromXY(point.x, point.y, coordinate);
    return coordinate.getLine();
  }
Code that is used to interacting with JTables often requires a method like this to function -
mapping a given point (the site of an event etc.) to a proper table row.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/CodeDisplay/CodeDisplay.java