TextHolder textHolder = null;
	public void mouseDown(MouseEvent e, int x, int y)	{		setView((DrawingView)e.getSource());		Figure pressedFigure = drawing().findFigureInside(x, y);		TextHolder textHolder = null;		if (pressedFigure != null) {			textHolder = pressedFigure.getTextHolder();		}		if ((textHolder != null) && textHolder.acceptsTyping()) {			beginEdit(textHolder);		}		else if (getTypingTarget() != null) {			editor().toolDone();		}		else {			super.mouseDown(e, x, y);			// update view so the created figure is drawn before the floating text			// figure is overlaid. (Note, fDamage should be null in StandardDrawingView			// when the overlay figure is drawn because a JTextField cannot be scrolled)			view().checkDamage();			beginEdit(getCreatedFigure().getTextHolder());		}	}