GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Categories
  • Newsletter
  • Submit
  • Login
  • Awesome Java
  • Miscellaneous

This view

  • Original page
  • New address

GeezerVison is showing java.libhunt.com — Lanterna Alternatives - Java Miscellaneous | LibHunt

  • Subscribe
  • Submit
  • Categories
  • About
  • Login

Lanterna

Java library for creating text-based GUIs

mabe02 logo
Source Code    Changelog
Suggest Changes
Popularity
7.2
Stable
Activity
6.8
Growing
Stars 2,636
Watchers 64
Forks 276
Last Commit 4 months ago

Description

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.

Code Quality Rank: L2
Programming language: Java
License: GNU Lesser General Public License v3.0 only
Tags: Miscellaneous    
Latest version: v3.1.0-beta2

Lanterna alternatives and similar libraries

Based on the "Miscellaneous" category.
Alternatively, view Lanterna alternatives based on common mentions on social networks and blogs.

  • Design Patterns

    10.0 8.6 L5 Lanterna VS Design Patterns
    Design patterns implemented in Java
    iluwatar logo
  • Modern Java - A Guide to Java 8

    9.6 2.7 L5 Lanterna VS Modern Java - A Guide to Java 8
    Modern Java - A Guide to Java 8
    winterbe logo
  • SaaSHub - Software Alternatives and Reviews

    SaaSHub helps you find the best software and product alternatives
    Promo www.saashub.com
    SaaSHub Logo
  • OpenRefine

    9.2 9.4 L2 Lanterna VS OpenRefine
    OpenRefine is a free, open source power tool for working with messy data and improving it
    OpenRefine logo
  • javaslang-circuitbreaker

    9.0 8.0 L5 Lanterna VS javaslang-circuitbreaker
    Resilience4j is a fault tolerance library designed for Java8 and functional programming
    resilience4j logo
  • J2ObjC

    8.6 9.1 L1 Lanterna VS J2ObjC
    A Java to iOS Objective-C translation tool and runtime.
    google logo
  • OctoLinker

    8.1 7.0 L5 Lanterna VS OctoLinker
    OctoLinker — Links together, what belongs together
    OctoLinker logo
  • failsafe

    7.9 2.8 L4 Lanterna VS failsafe
    Fault tolerance and resilience patterns for the JVM
    failsafe-lib logo
  • jabba

    7.5 1.8 Lanterna VS jabba
    (cross-platform) Java Version Manager
    shyiko logo
  • Jimfs

    7.3 7.8 L3 Lanterna VS Jimfs
    An in-memory file system for Java
    google logo
  • Codename One

    7.1 9.9 L1 Lanterna VS Codename One
    Open-source framework for native apps from one Java codebase, with a custom-rendered UI you control across iOS, Android, desktop, web, and watches.
    codenameone logo
  • CQEngine

    6.7 0.0 L2 Lanterna VS CQEngine
    Ultra-fast SQL-like queries on Java collections
    npgall logo
  • Maven Wrapper

    6.6 2.1 Lanterna VS Maven Wrapper
    DISCONTINUED. The easiest way to integrate Maven into your project!
    takari logo
  • FF4J

    6.4 7.1 Lanterna VS FF4J
    Feature Flags for Java made easy
    ff4j logo
  • JBake

    6.3 4.8 L3 Lanterna VS JBake
    Java based open source static site/blog generator for developers & designers.
    jbake-org logo
  • JDeferred

    6.3 0.0 L5 Lanterna VS JDeferred
    Java Deferred/Promise library similar to JQuery.
    jdeferred logo
  • Togglz

    5.9 8.8 Lanterna VS Togglz
    Feature Flags for the Java platform
    togglz logo
  • LightAdmin

    5.6 0.0 L5 Lanterna VS LightAdmin
    [PoC] Pluggable CRUD UI library for Java web applications
    la-team logo
  • Polyglot for Maven

    5.5 6.0 Lanterna VS Polyglot for Maven
    Support alternative markup for Apache Maven POM files
    takari logo
  • Smooks

    5.5 4.4 Lanterna VS Smooks
    An extensible Java framework for building event-driven applications that break up XML and non-XML data into chunks for data integration
    smooks logo
  • Membrane Service Proxy

    5.4 9.7 L3 Lanterna VS Membrane Service Proxy
    API Gateway bridging modern and legacy APIs with WSDL-to-OpenAPI, SOAP-to-REST, XML, OAuth2, and GraphQL.
    membrane logo
  • Joda-Money

    5.1 6.6 L2 Lanterna VS Joda-Money
    Java library to represent monetary amounts.
    JodaOrg logo
  • TypeTools

    4.8 8.0 L3 Lanterna VS TypeTools
    Tools for working with generic types
    jhalterman logo
  • Multi-OS Engine

    4.8 3.9 Lanterna VS Multi-OS Engine
    Multi-OS Engine: Create iOS Apps in Java (or Kotlin ... etc.)
    multi-os-engine logo
  • Modernizer

    4.1 9.3 L3 Lanterna VS Modernizer
    Detect uses of legacy Java APIs
    gaul logo
  • sitemapgen4j

    3.5 0.0 Lanterna VS sitemapgen4j
    SitemapGen4j is a library to generate XML sitemaps in Java.
    dfabulich logo
  • MinimalFTP

    3.3 6.0 Lanterna VS MinimalFTP
    A lightweight, simple FTP server. Pure Java, no dependencies.
    Guichaguri logo
  • XMLBeam

    2.5 6.3 Lanterna VS XMLBeam
    Java XML library. A really cool one. Obviously.
    SvenEwald logo
  • RoboVM

    - Lanterna VS RoboVM
    Commercial framework with a free trial to write native iOS apps.
  • JavaX

    - Lanterna VS JavaX
    Reinventing and extending Java with a focus on simplicity.
  • JPad

    - Lanterna VS JPad
    Snippet runner.

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.

Do you think we are missing an alternative of Lanterna or a related project?

Add another 'Miscellaneous' Library

Popular Comparisons

  • Lanterna
    vs
    CQEngine
  • Lanterna
    vs
    Modern Java - A Guide to Java 8
  • Lanterna
    vs
    LightAdmin
  • Lanterna
    vs
    JBake
  • Lanterna
    vs
    Jimfs

README

Lanterna

Lanterna screenshot

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.

  1. The first is a low level terminal interface which gives you the most basic control of the terminal text area. You can move around the cursor and enable special modifiers for characters put to the screen. You will find these classes in package com.googlecode.lanterna.terminal.

  2. The second level is a full screen buffer, the whole text screen in memory and allowing you to write to this before flushing the changes to the actual terminal. This makes writing to the terminal screen similar to modifying a bitmap. You will find these classes in package com.googlecode.lanterna.screen.

  3. The third level is a full GUI toolkit with windows, buttons, labels and some other components. It's using a very simple window management system (basically all windows are modal) that is quick and easy to use. You will find these classes in package com.googlecode.lanterna.gui2.

Maven

Lanterna is available on Maven Central, through Sonatype OSS hosting. Here's what you want to use:

    <dependency>
        <groupId>com.googlecode.lanterna</groupId>
        <artifactId>lanterna</artifactId>
        <version>3.1.1</version>
    </dependency>

Discussions

There is a google group for discussions and announcements related to Lanterna.

Development Guide

See [docs](docs/contents.md) for examples and guides.

JavaDoc is available here:

  • http://mabe02.github.io/lanterna/apidocs/3.1/

The JavaDocs for the previous versions (2.1 and 3.0) are also available here:

  • http://mabe02.github.io/lanterna/apidocs/2.1/
  • http://mabe02.github.io/lanterna/apidocs/3.0/

There is also a development guide and some tutorials available right here on Github.

Do not miss the trending, libraries, news and articles with our weekly report.

Awesome Java is part of the LibHunt network. Terms. Privacy Policy.

(CC)
BY-SA
Spin The Wheel Of Names for a cryptographically secure random name picker.
Schedule a when to meet poll.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.