Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

system pause

 
Andrew Lit
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
is it possible somehow to stop method execution for a while and than continue with the proceeded?
thank you
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Andrew Lit:
hi,
is it possible somehow to stop method execution for a while and than continue with the proceeded?
thank you

Yes. Take a look at Thread.sleep().
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic