private void drawBox(Graphics2D g, String string, Point2D point) {
		if (string.equals(""))
			return;

		Rectangle2D rect = g.getFontMetrics().getStringBounds(string, g);
		double x = point.getX() - rect.getWidth() / 2.0;
		double y = point.getY() - rect.getY() - rect.getHeight() / 2.0;

		g.fillRect((int) x - 2, (int) (y + rect.getY()) - 2, (int) rect
				.getWidth() + 4, (int) rect.getHeight() + 4);
		g.setColor(Color.black);
		g.drawRect((int) x - 2, (int) (y + rect.getY()) - 2, (int) rect
				.getWidth() + 4, (int) rect.getHeight() + 4);
		g.drawString(string, (float) x, (float) y);
		// g.drawRect();
	}