private static void paintLine(Graphics g, Rectangle bounds, Color color) {
    g.setColor(color);
    g.fillRect(bounds.x, bounds.y + 1, 1, bounds.height - 2);
  }
private static void paintLine(Graphics g, Rectangle bounds, Color color)