public void setText(String text) {
		this.text = text;

		int totalW = getSize().width - 10;
		String[] texts = text.split(" ");
		FontMetrics metrics = getMetrics();
		StringBuilder fmtT = new StringBuilder();
		int w = 5;
		for (String s : texts) {
			int tW = metrics.stringWidth(" " + s);
			if (w + tW > totalW) {
				fmtT.append("//x//");
				w = 5 + tW;
				fmtT.append(s);
			} else {
				w += tW;
				fmtT.append(" " + s);
			}
		}
		fmtT.delete(0, 1);
		fmtText = fmtT.toString();
		repaint();
	}