if (this.lastFieldChangedEvent != 0 && currentTime - this.lastFieldChangedEvent > 500) { this.lastFieldChangedEvent = 0; setString( this.editField.getText() ); if (getScreen() instanceof Form ) { notifyStateChanged(); } }
	public boolean animate() { 		if (!this.isFocused) {			return false;		}		long currentTime = System.currentTimeMillis();		//#ifdef tmp.directInput			synchronized ( this.lock ) {				if (this.caretChar != this.editingCaretChar) {					if ( (currentTime - this.lastInputTime) >= INPUT_TIMEOUT ) {						insertCharacter();					}				}			}		//#endif		if (!this.flashCaret || this.isUneditable) {			//System.out.println("TextField.animate():  flashCaret==false");			return false;		}		if ( currentTime - this.lastCaretSwitch > 500 ) {			this.lastCaretSwitch = currentTime;			this.showCaret = ! this.showCaret;			return true;		} else {			return false;		}	}