public void tick() {
		if(caretBlink){
			if(System.currentTimeMillis() - lastBlinkTime > blinkDelay){
				caretBlink = !caretBlink;
				lastBlinkTime = System.currentTimeMillis();
			}
		}else{
			if(System.currentTimeMillis() - lastBlinkTime > blinkDelay){
				caretBlink = !caretBlink;
				lastBlinkTime = System.currentTimeMillis();
			}
		}
	}