private void drawAlign(int x, int y, int w, int _h, Graphics2D g,
			String _type) {
		int N = _h / 2;

		int i;
		int stepH = (_h / N);
		int indent = (int) (w * 0.1);
		int rw = w - indent;
		if (stepH <= 1) {
			stepH = 1;
		}
		int h = y + (stepH / 2 + 1);

		int type;
		if (_type.equals("left")) {
			type = 0;
		} else if (_type.equals("right")) {
			type = 1;
		} else if (_type.equals("center")) {
			type = 2;
		} else {
			type = 3;
		}

		g.setColor(Color.DARK_GRAY);

		for (i = 0; i < N; i++) {
			double rnd = 0.3 * Math.random();
			switch (type) {
			case 0: {
				int RW = (int) (rw - (rw * rnd));
				g.drawLine(x + indent, h, x + RW, h);
				break;
			}
			case 1: {
				int M = (int) (rw * rnd);
				g.drawLine(x + indent + M, h, x + rw, h);
				break;
			}
			case 2: {
				int M = (int) (rw * rnd);
				int RW = (int) (rw - M);
				g.drawLine(x + indent + M, h, x + RW, h);
				break;
			}
			case 3: {
				g.drawLine(x + indent, h, x + rw, h);
				break;
			}
			}

			h += stepH;
		}
	}