private static String setTitleLine(String title, int lineSize) {
		String titleLine = "|";
		
		while(titleLine.length() < (lineSize - title.length())/2) {
			titleLine += ' ';
		}
		titleLine += title;
		while(titleLine.length() < lineSize - 1) {
			titleLine += ' ';
		}
		titleLine += '|';
		
		return titleLine;
	}