reading in input from a user

imported_nautique

Senior member
Jul 14, 2004
346
0
0
I am waiting for a few different user actions. One of them is if they hit the "enter key" and nothing else. How can you check if the enter key has been pressed?

In java and I am reading the input in through a BufferedReader