public void settleComponentSize() {
		// notifyPageListeners(new PageEvent(this, PageEvent.STORE_VIEW_POSITION));
		if (isEditable())
			oldCaretPosition = getCaretPosition();
		StyledDocument old = getStyledDocument();
		if (styledDocumentInstance == null)
			styledDocumentInstance = new DefaultStyledDocument();
		setDocument(styledDocumentInstance);// FIXME: why must we do this?
		setDocument(old);
		if (isEditable())
			setCaretPosition(oldCaretPosition);
		// notifyPageListeners(new PageEvent(this, PageEvent.RESTORE_VIEW_POSITION));
	}