Government // Enterprise Architecture
Commentary
11/23/2008
00:00 AM
Commentary
Commentary
Commentary
Connect Directly
RSS
E-Mail
50%
50%
Repost This

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 Elite 100 - 2014
Our InformationWeek Elite 100 issue -- our 26th ranking of technology innovators -- shines a spotlight on businesses that are succeeding because of their digital strategies. We take a close at look at the top five companies in this year's ranking and the eight winners of our Business Innovation awards, and offer 20 great ideas that you can use in your company. We also provide a ranked list of our Elite 100 innovators.
Video
Slideshows
Twitter Feed
Audio Interviews
Archived Audio Interviews
GE is a leader in combining connected devices and advanced analytics in pursuit of practical goals like less downtime, lower operating costs, and higher throughput. At GIO Power & Water, CIO Jim Fowler is part of the team exploring how to apply these techniques to some of the world's essential infrastructure, from power plants to water treatment systems. Join us, and bring your questions, as we talk about what's ahead.