延迟时间 @param millis @throws InterruptedException
(long millis)
| 846 | * @throws InterruptedException |
| 847 | */ |
| 848 | public void delay(long millis){ |
| 849 | try { |
| 850 | Thread.sleep(millis); |
| 851 | } catch (InterruptedException e) { |
| 852 | throw new RuntimeException(e); |
| 853 | } |
| 854 | } |
| 855 | |
| 856 | /** |
| 857 | * 把鼠标移动到目的范围内的任意一点<br/> |