Skip to main content

What"s a good Java, curses-like, library for terminal applications?


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.


Source: Tips4allCCNA FINAL EXAM

Comments

  1. 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.

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

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

    ReplyDelete

Post a Comment

Popular posts from this blog

Wildcards in a hosts file

I want to setup my local development machine so that any requests for *.local are redirected to localhost . The idea is that as I develop multiple sites, I can just add vhosts to Apache called site1.local , site2.local etc, and have them all resolve to localhost , while Apache serves a different site accordingly.