public static boolean readBoolean(String label) {
		String line = null;
		boolean finished = false;
		boolean ret = false;
		BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));

		try {
			while(!finished) {
				System.out.print(label+" [j/n]: ");
				line = stdin.readLine().toLowerCase();
				
				if(line.equals("j") || line.equals("ja")) {
					ret = true;
					finished = true;
				} else if(line.equals("n") || line.equals("nein")) {
					ret = false;
					finished = true;
				} else {
					System.err.println("Bitte geben Sie ja oder nein bzw. j oder n ein!");
				}
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
		
		return ret;
	}