private static void paintVerticalLine(Graphics g, int x, int y, int length) {
    LinePainter2D.paint((Graphics2D)g, x, y, x, y + length, LinePainter2D.StrokeType.CENTERED, 1.);
  }
private static void paintVerticalLine(Graphics g, int x, int y, int length)