private int getNumberOfVisibleLines() {
    final int rawHeight = getHeight() - horizontalScrollbar.getHeight();
    return (rawHeight / fontLineHeight) + ((rawHeight % fontLineHeight) == 0 ? 0 : 1);
  }
Creates and initializes the scroll bars that are used to scroll through the data.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/CodeDisplay/CodeDisplay.java