Government // Enterprise Architecture
Commentary
11/23/2008
12:00 AM
Commentary
Commentary
Commentary
50%
50%

Curses in Java

Looking for a way to make it easier for mainframers to explore PigIron, Curses-like UI development in Java seemed the way to go. I found two particularly interesting

http://www.softwoehr.com/softwoehr/images/codetalk/jcurses.jpg Looking for a way to make it easier for mainframers to explore PigIron, Curses-like UI development in Java seemed the way to go. I found two particularly interesting projects:

  1. JavaCurses
  2. Charva

The two are similar in origin and somewhat in style but divergent in size, complexity and maturity.

Both took the view that they wanted to implement a character-mode terminal-based line-drawing API modelled conceptually after AWT and/or Swing. Both use the Java Native Interface (JNI).

Charva describes itself as follows: CHARVA is a Java Swing-like framework for presenting a "graphical" user interface, composed of elements such as windows, dialogs, menus, textfields and buttons, on a traditional character-cell ASCII terminal. Charva's latest release took place in Sept. 2006.

JCurses describes itself as follows: The Java Curses Library (JCurses) is library for developing text terminal based applications using Java programming language. It is implemented as a Windowing toolkit similar to AWT, but built upon the UNIX "curses" windowing system. JCurses latest release took place in November, 2002.

JavaCurses is simpler, but it also needs some work. Charva is more solid, more modern, more complete, and performs better.

I'm coding on JCurses right now! It is cute and it needs me much more than Charva does.

Comment  | 
Print  | 
More Insights
Register for InformationWeek Newsletters
White Papers
Current Issue
InformationWeek Tech Digest, Dec. 9, 2014
Apps will make or break the tablet as a work device, but don't shortchange critical factors related to hardware, security, peripherals, and integration.
Video
Slideshows
Twitter Feed
InformationWeek Radio
Archived InformationWeek Radio
Join us for a roundup of the top stories on InformationWeek.com for the week of December 7, 2014. Be here for the show and for the incredible Friday Afternoon Conversation that runs beside the program!
Sponsored Live Streaming Video
Everything You've Been Told About Mobility Is Wrong
Attend this video symposium with Sean Wisdom, Global Director of Mobility Solutions, and learn about how you can harness powerful new products to mobilize your business potential.