S
snewcrash
I'm new to java so sorry if this is a stupid question. I have a program
where I have 360 lines output. I need the screen to pause each time it
fills up. So far I made a for statement for lines 1-20, 20-45, etc. How
do I get the screen to pause at the end of each for statement? I've
been looking at Thread.sleep, but I'm unsure how to use it in my
program. This is what I have so far:
http://pastebin.com/447592
where I have 360 lines output. I need the screen to pause each time it
fills up. So far I made a for statement for lines 1-20, 20-45, etc. How
do I get the screen to pause at the end of each for statement? I've
been looking at Thread.sleep, but I'm unsure how to use it in my
program. This is what I have so far:
http://pastebin.com/447592