Puoi fare così:

codice:
for(int i = 0; i < 10; i++){ 
	try {
		Thread.sleep(10000);
	} catch (InterruptedException e) {
		e.printStackTrace();
	}
}