221 KB   922 downloads
2.1.7 GPL    
  not rated
Easy console text GUI library for Java




Lanterna (or "lantern") is a Java library allowing you to write easy semi-graphical user interfaces in a text-only environment, very similar to curses. Lanterna is supporting xterm compatible terminals and terminal emulators such as konsole, gnome-terminal, putty, xterm and many more. One of the main benefits of lantern is that it's not dependent on any native library but runs 100% in pure Java.

Also, when running Lanterna on computers with a graphical environment (such as Windows or Xorg), a terminal emulator written in Swing will be used rather than standard output. This way, you can develop as usual from your IDE (most of them doesn't support ANSI control characters in their output window) and then deploy to your headless server without changing anything.

Get Lanterna and give it a go to see what it's all about!
Last updated on June 10th, 2014