private String buildBar() {
		// Collecting information about the bar length
		int every = 100 / BAR_DEPTH;
		int bars = approx_progress / every;
		int subDepth = BAR_DEPTH / 2;

		// Creating the array of character corresponding to the percentage of
		// completion
		char a[] = new char[BAR_DEPTH];
		if (bars > BAR_DEPTH) {
			bars = BAR_DEPTH;
		}
		for (int i = 0; i < bars; i++) {
			a[i] = '=';
		}
		for (int i = bars; i < a.length; i++) {
			a[i] = ' ';
		}

		// Dividing the bar into two parts
		String all = new String(a);
		String before = all.substring(0, subDepth);
		String after = all.substring(subDepth, BAR_DEPTH);

		// Formatting the bar with the percentage value in the middle
		String res = String.format(PROGRESS_BAR, note, before, approx_progress,
				after);
		return res.trim();
	}