Wowza Community

Time as overlay

I can add time text as overlay but the seconds does not tick ? it is just static text

how can i make the time update with each frame

	        Date dNow = new Date();
		SimpleDateFormat ft = new SimpleDateFormat("hh:mm:ss");
		
		wowzaText = new OverlayImage(ft.format(dNow), 12, "SansSerif", Font.BOLD, Color.white, 66,15,100);
		wowzaTextShadow = new OverlayImage(ft.format(dNow), 12, "SansSerif", Font.BOLD, Color.darkGray, 66,15,100);
		
		brImage.addOverlayImage(wowzaText, 0, 0);
		wowzaText.addOverlayImage(wowzaTextShadow, 1, 1);

Still looking for a solution

I can add time text as overlay but the seconds does not tick ? it is just static text

how can i make the time update with each frame

	        Date dNow = new Date();
		SimpleDateFormat ft = new SimpleDateFormat("hh:mm:ss");
		
		wowzaText = new OverlayImage(ft.format(dNow), 12, "SansSerif", Font.BOLD, Color.white, 66,15,100);
		wowzaTextShadow = new OverlayImage(ft.format(dNow), 12, "SansSerif", Font.BOLD, Color.darkGray, 66,15,100);
		
		brImage.addOverlayImage(wowzaText, 0, 0);
		wowzaText.addOverlayImage(wowzaTextShadow, 1, 1);