views:

355

answers:

1

Can you have a keylistener in a java console application without messing with JNI? Will jcurses do this for me (I couldn't find it in my searching.) Thank you.

+2  A: 

Not directly. Jcurses will probably do the trick, but contains native code.

jarnbjo
what does that mean it contains native code? thank you.
johnny
It means that jcurses contains native code and that you potentially have to compile jcurses yourself for every platform you intend to run your application on. AFAIK, jcurses binaries are only available for 32-bit versions of Windows and Linux.
jarnbjo