Text based menu
Hello, i am new to java programming, and i am trying to create a text based menu system in which the user selects an option. I am having problems defining my input stream that will get input from the user. Does anyone know the type of input stream i should use, and how to define it.
[290 byte] By [
Delaicerwa] at [2007-10-2 14:16:18]

Most folk wrap System.in with a BufferedReader (via that BufferedInputStreamReader class) and then you can use the readLine method to get your text. Alternatively, in 1.5 there is the java.util.Scanner class, you can wrap System.in with that and call nextLine.Good LuckLee
tsitha at 2007-7-13 12:32:23 >
