public void settip(String t) {
		tooltip = t;
		q2 = -1;
		if (tooltip != null) {
			try {
				Matcher m = patt.matcher(tooltip);
				while (m.find()) {
					q2 = Integer.parseInt(m.group(1));
				}
				Matcher valm = pattVal.matcher(tooltip);
				if (valm.find()) {
					count_of_value = Double.parseDouble(valm.group(1));
					count_of_maximum = Double.parseDouble(valm.group(2));
				}
			} catch (IllegalStateException e) {
				System.out.println(e.getMessage());
			}
		}
	}