private void drawAllBonds() {
		for (int i = 0; i < bonds.length; i++) {
			int n = Integer.parseInt(bonds[i][0]);
			if (bonds[i][1].equals("R")) {
				drawBond(n, 0, false);
			} else if (bonds[i][1].equals("L")) {
				drawBond(n, Math.PI, true);
			} else if (bonds[i][1].equals("D")) {
				drawBond(n, Math.PI / 2, false);
			} else if (bonds[i][1].equals("U")) {
				drawBond(n, - Math.PI / 2, true);
			} else if (bonds[i][1].equals("LU")) {
				drawBond(n, -0.75 * Math.PI, true);
			} else if (bonds[i][1].equals("RD")) {
				drawBond(n, 0.25 * Math.PI, false);
			} else if (bonds[i][1].equals("RU")) {
				drawBond(n, -0.25 * Math.PI, false);
			} else if (bonds[i][1].equals("LD")) {
				drawBond(n, 0.75 * Math.PI, true);
			}
		}
	}