private void drawButtonInfo(Graphics2D g) {
		String s = null;
		Rectangle r = null;
		if (closeButton.contains(mouseMovedPoint)) {
			s = "Close graph";
			r = closeButton;
		} else if (dataButton.contains(mouseMovedPoint)) {
			s = "View data";
			r = dataButton;
		} else if (xExpandButton.contains(mouseMovedPoint)) {
			s = "Expand x axis";
			r = xExpandButton;
		} else if (xShrinkButton.contains(mouseMovedPoint)) {
			s = "Shrink x axis";
			r = xShrinkButton;
		} else if (yExpandButton.contains(mouseMovedPoint)) {
			s = "Expand y axis";
			r = yExpandButton;
		} else if (yShrinkButton.contains(mouseMovedPoint)) {
			s = "Shrink y axis";
			r = yShrinkButton;
		} else if (yFitButton.contains(mouseMovedPoint)) {
			s = "Fit y axis to data";
			r = yFitButton;
		} else if (ySelectButton.contains(mouseMovedPoint)) {
			s = "Select data type";
			r = ySelectButton;
		}
		if (s == null)
			return;
		g.setFont(smallFont);
		int stringWidth = g.getFontMetrics().stringWidth(s);
		g.setStroke(thinStroke);
		g.setColor(Color.black);
		g.fillRoundRect(r.x + (r.width - stringWidth) / 2 - 5, r.y - 24, stringWidth + 10, 20, 8, 8);
		g.setColor(Color.white);
		g.drawString(s, r.x + (r.width - stringWidth) / 2, r.y - 12);
	}