Government // Enterprise Architecture
Commentary
11/23/2008
00:00 AM
Commentary
Commentary
Commentary
Connect Directly
RSS
E-Mail
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 - July10, 2014
When selecting servers to support analytics, consider data center capacity, storage, and computational intensity.
Flash Poll
Video
Slideshows
Twitter Feed
InformationWeek Radio
Archived InformationWeek Radio
Join InformationWeek’s Lorna Garey and Mike Healey, president of Yeoman Technology Group, an engineering and research firm focused on maximizing technology investments, to discuss the right way to go digital.
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.