public static void delay_ms(int nms){
try {
Robot r = new Robot();
r.delay(nms);
} catch (Exception e) {
}
}
Thread.sleep(1000*3); // 休眠3秒
public static void delay_ms(int nms){
try {
Robot r = new Robot();
r.delay(nms);
} catch (Exception e) {
}
}
Thread.sleep(1000*3); // 休眠3秒