Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java framework for textual user interface (TUI)

Tags:

java

tui

I need to create TUI for my application. Is there any framework to help me with it? I need something like Ncurses, but for Java. I have found some (Jcurses, Charva). Anyone have experience with them? Please, advise me, which is better (better is mean easier in my case). Or maybe something else?

like image 534
Sergey Avatar asked Jul 27 '12 13:07

Sergey


People also ask

What is TUI in Java?

Java TUI (text-based user interface) widget toolkit which aims at using no native code at all (even on Windows platforms)

Which GUI framework is best for Java?

JavaFX. The latest flagship of Oracle is JavaFX and is counted at top among the Best Java GUI frameworks. JavaFX is the latest toolkit of Java/Oracle replacing Swing to create rich desktop as well as web applications. Many new Java GUI programs are being developed using JavaFX.

What is TUI software?

In computing, text-based user interfaces (TUI) (alternately terminal user interfaces, to reflect a dependence upon the properties of computer terminals and not just text), is a retronym describing a type of user interface (UI) common as an early form of human–computer interaction, before the advent of graphical user ...

What is TUI and GUI?

A GUI is driven commonly by windows, icons, menus and pointers (WIMP) in a desktop environment whereas a TUI is generally driven by tangible/tactile interaction devices in most augmented reality (AR) realms. Both interfaces have a close relation to usability issues.


1 Answers

You could use Lanterna - Java library for creating text-based GUIs.

If you are familiar with Java's GUI frameworks like Swing or AWT, the UI-component based approach (window, panel, content-pane, add-component) might be easy to pick up.

It is used by CHARVA in their GitHub repo charva-lanterna.

See also:

  • Software Recommendations Stack Exchange: user interface - A Library for text based UI with menu facility in JAVA
like image 178
hc_dev Avatar answered Oct 03 '22 17:10

hc_dev