Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static void runAfter(int msSeconds, Thread thread) {
        try {
            Thread.sleep(msSeconds);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        thread.start();
    }
}