Lanterna is a Java library allowing you to write easy semi-graphical user interfaces in a text-only environment,
very similar to the C library curses but with more functionality.
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 lanterna 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 bundled 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 any code.
Lanterna is structured into three layers, each built on top of the other and you can easily choose which one fits your needs best.
Recently added Lanterna resources
Be the first to add one!
Lanterna RecommendationsThere are no recommendations yet. Be the first to promote Lanterna!
Have you used Lanterna? Share your experience. Write a short recommendation and Lanterna, you and your project will be promoted on Awesome Java.
Lanterna alternatives and related libraries
Based on the "Miscellaneous" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Lanterna or a related project?
» Learn more from our partner.