Curses in Java - InformationWeek

InformationWeek is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

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

We welcome your comments on this topic on our social media channels, or [contact us directly] with questions about the site.
Comment  | 
Print  | 
More Insights
Commentary
2021 Outlook: Tackling Cloud Transformation Choices
Joao-Pierre S. Ruth, Senior Writer,  1/4/2021
News
Enterprise IT Leaders Face Two Paths to AI
Jessica Davis, Senior Editor, Enterprise Apps,  12/23/2020
Slideshows
10 IT Trends to Watch for in 2021
Cynthia Harvey, Freelance Journalist, InformationWeek,  12/22/2020
White Papers
Register for InformationWeek Newsletters
Video
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you.
Slideshows
Flash Poll