Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new Runnable() {
- @Override
- public void run() {
- long lastTime = System.currentTimeMillis() + 20000;
- do {
- try {
- Thread.sleep(20000);
- } catch (InterruptedException e) {
- }
- } while ((lastTime - System.currentTimeMillis()) > 0);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement