hi:
sorry, but maybe i didn't make it clear. let me provide some background info.
i am writing the front end of an ordertaking app using java. due to its usage and need for fast entry, gui is NOT recommended. the user will be using a keyboard to enter orders and traverse around the application.
i was looking around, and try to find a way to intercept user keystroke. but System.in.readLine is a "blocking function." that's why i figure i might need to use native code to monitor keystrokes.
first, i should mention that my background is in the middle tier. so, i don't know much about UI. but here is what i am doing.
"recreate" text ui components using HMVC approach. monitor the keyboard input using native c code, and manage user's interaction using chain of command patterns.
if anyone has a better idea, please let me know. please drop a line at
lovegokou@yahoo.com if you reply to this because this thread could get buried in javaranch.
regards,
-andrew