* @param y1 Coordinates of first point of the line
* @param x2 Coordinates of second point of the line
* @param y2 Coordinates of second point of the line
*/
public void buildLine(int x1, int y1, int x2, int y2) {
Line line1 = new Line(x1, y1, x2, y2, new Color(200, 0, 0));
content.setLayout(null);
line1.setVisible(true);
line1.setBounds(x1, y1, Math.abs(x2-x1), Math.abs(y2-y1));
line1.setLayout(null);
line1.setBorder(null);
line1.displayLine(0, 0, 0, 0);
this.setLine(line1);
content.add(line1);
}