public void paint(Graphics g2){
		//set clock color
		if(minutes==0 && seconds<60 && seconds>30){
			g2.setColor(Color.YELLOW);
		} else if(minutes==0 && seconds<=30){
			g2.setColor(Color.RED);
		} else {
			g2.setColor(Color.WHITE);
		}
		g2.setFont(new Font("Arial", Font.BOLD, 14));
		g2.drawString(result, 25, 460);	
	}