Usando o sleep

System.out.println("UM");

try {

 Thread.sleep(2000);

 System.out.println("DOIS");

catch (Exception ex) {

}