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?
Java TUI (text-based user interface) widget toolkit which aims at using no native code at all (even on Windows platforms)
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.
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 ...
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.
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With