historyPos = 0;
	public void addCurrentToHistory()	{		String text = getText();		if(text == null || text.length() == 0 ||			text.equals(history[0]))			return;		System.arraycopy(history,0,history,1,history.length - 1);		history[0] = text;	}