import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Stroke;
import java.awt.geom.Line2D;
import java.util.ArrayList;

public class Bars {

	private ArrayList<Line2D.Double> barLines;
	private Color color;
	private int width, height;
	private int x1, x2;
	
	public Bars(int width, int height) {
		barLines = new ArrayList<>();
		color = Color.DARK_GRAY;
		this.width = width;
		this.height = height;
		x1 = GamePanel.getBoardWidth()/2 - (width/2);
		x2 = GamePanel.getBoardWidth()/2 - (width/2) + width;
		for(int y = 50; y < height; y += 106) {
			barLines.add(new Line2D.Double(x1, y, x2, y));
		}
	}
	
	public Color getColor() { return color; }
	
	public void render(Graphics2D g){
		g.setColor(color);
		Stroke stroke = new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.CAP_ROUND, 0);
		g.setStroke(stroke);
		for(int i = 0; i < barLines.size(); i++) {
			g.draw(barLines.get(i));
		}
		
		for(int i = 0; i < barLines.size(); i++) {
			double y1 = barLines.get(i).getY1();
			double y2 = barLines.get(i).getY2();
			barLines.get(i).setLine(x1, y1 + 10, x2, y2 + 10);
			if(y1 > height) {
				barLines.get(i).setLine(x1, 50, x2, 50);
			}
		}
		
	}
}

@@ -291,16 +291,39 @@
 x1, x2;%0A
+%09private double speed;%0A
 %09%0A%09publi
@@ -346,24 +346,38 @@
 , int height
+, double speed
 ) %7B%0A%09%09barLin
@@ -427,16 +427,38 @@
 K_GRAY;%0A
+%09%09this.speed = speed;%0A
 %09%09this.w
@@ -1151,16 +1151,22 @@
 1, y1 + 
+speed/
 10, x2, 
@@ -1170,16 +1170,22 @@
 2, y2 + 
+speed/
 10);%0A%09%09%09

Update Bars.java - problem is that we need to have the bars be even with song