public synchronized int getCaretPosition() { TextComponentPeer tcp = (TextComponentPeer) getPeer();
getCaretPosition() { TextComponentPeer tcp = (TextComponentPeer)getPeer();
	public synchronized int getCaretPosition() {		TextComponentPeer tcp = (TextComponentPeer) getPeer();		if (tcp != null)			return (tcp.getCaretPosition());		else			return (0);	}