The posted code can't be compiled and executed for testing to see what it does. You need to post a small, complete program that compiles, executes and shows the problem.
Type: Posts; User: Norm
The posted code can't be compiled and executed for testing to see what it does. You need to post a small, complete program that compiles, executes and shows the problem.
Sorry, you lost me. I thought you wanted to have a pause between the display of lines on the console.
What is the problem you are having doing: " replay the actions into the console."
If you are asking how to have the program pause for 2 seconds between printing to the console, look at the Thread class's sleep() method.
Please post what the program's output should be when it reads the contents of the file shown in post#1. I have no idea what you mean by "in a sequence order".
Also post the program's current...
What is the program's output supposed to look like? What does the program output now?
Please edit your post and wrap your code with code tags:
<YOUR CODE HERE>
to get highlighting and...