I'm very new to Java, and I have checked all over the internet and haven't been able to find an easy, suitable answer to my needs.
I'm making a small maze program, and would like to print out an image of the maze, ask the user to press the arrow key in the direction they would like to go, and execute that command. The program would have to stop and wait for an arrow key input.
Do I have to make a new method for this, or can it be done in the main method?