Making the user wait using Swing

前端 未结 4 1003
梦谈多话
梦谈多话 2021-01-21 05:48

I want to make the user to wait for a certain amount of time (10 seconds). I know in JSP or in servlets we use the META tag

4条回答
  •  感情败类
    2021-01-21 06:13

    Did you try with threads. Using

       Thread.sleep(10000);
    

    you can acheive it easily. You can get more information here

提交回复
热议问题