what is java's corresponding method for c's getch()
hi... i intended to do a game in java.. In that i needed some keyboard controls for making the movements like up, down, left and right using some keys.. But actually, i need something like C's getch() function to take the keyboard strokes... can anyone find out the corresponding method in java or any other construct which helps in doing so..
|