Java中实现延时一段时间: try { Thread.currentThread().sleep(1000); //毫秒 } catch (Exception e) { e.printStackTrace(); }