if (this.editField != null && text != this.text ) { Object bbLock = UiApplication.getEventLock(); synchronized (bbLock) { this.editField.setText(text); } }
	public void setString( String text)	{		if (this.isPassword) {			this.passwordText = text;			if (text != null) {				int length = text.length();				StringBuffer buffer = new StringBuffer( length );				for (int i = 0; i < length; i++) {					buffer.append('*');				}				text = buffer.toString();			}		}		setText(text);		//#ifdef tmp.directInput			if ((text == null || text.length() == 0) && this.inputMode == MODE_FIRST_UPPERCASE) {				this.nextCharUppercase = true;			}		//#endif		//#if !(tmp.forceDirectInput || polish.blackberry)			if (this.midpTextBox != null) {				if (this.isPassword) {					this.midpTextBox.setString( this.passwordText );				} else {					this.midpTextBox.setString( text );				}			}		//#endif	}