void settitle ()
	{	String S;
		if (BigTimer) 
			S=WhiteName+" "+formmoves(WhiteMoves)+" - "+
			BlackName+" "+formmoves(BlackMoves);
		else
			S=WhiteName+" "+formtime(WhiteTime-WhiteRun)+" "+formmoves(WhiteMoves)+" - "+
			BlackName+" "+formtime(BlackTime-BlackRun)+" "+formmoves(BlackMoves);
		if (!S.equals(OldS))
		{	if (!TimerInTitle) TL.setText(S);
			else setTitle(S);
			OldS=S;
		}
		if (BigTimer)
		{	BL.setTime(WhiteTime-WhiteRun,BlackTime-BlackRun,WhiteMoves,BlackMoves,Col);
			BL.repaint();
		}
		if (Col>0 && B.maincolor()>0) beep(BlackTime-BlackRun);
		if (Col<0 && B.maincolor()<0) beep(WhiteTime-WhiteRun);
	}