if(hasFocus()) { setCaretVisible(true); focusedComponent = this; }  ToolTipManager.sharedInstance().registerComponent(painter);
	public void addNotify()	{		super.addNotify();		if(!documentHandlerInstalled)		{			documentHandlerInstalled = true;			document.addDocumentListener(documentHandler);		}	}