views:

3834

answers:

3

I would like to write a Java terminal application that does screen manipulation. Are there any good libraries out there that allow you to manipulate the screen like curses in the *nix/C world?

Minimal features I'm looking for are windowing and user input support.

In feature-speak, I'd like to have a region of the terminal where some data is regularly updated while (at the same time) the user can enter commands/text in some other part of the screen.

+4  A: 

Haven't used it myself, but Java Curses Library sounds like what you want.

Jim Blizard
Sounds good, but I think I'll go with Charva, since that'll provide a more OO experience. Thanks for the suggestion.
Francisco Canedo
Java Curses last release: 2002.
Pistos
+9  A: 

There is Charva, which links to native code but has an api based on Swing. The screenshots show lots of text windows, so that looks useful.

Bart Schuller
Nice one, too bad though that it requires native libraries. I'll give this a shot and see how far I get.
Francisco Canedo
+1  A: 

Here is a way to call the ncurses lib using JNI. I tested this and it works.

DMKing