什么是用于终端应用程序的优秀 Java、类似curses 的库? [英] What's a good Java, curses-like, library for terminal applications?

查看:24
本文介绍了什么是用于终端应用程序的优秀 Java、类似curses 的库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想编写一个执行屏幕操作的 Java 终端应用程序.有没有什么好的库可以让你像 *nix/C 世界中的诅咒一样操纵屏幕?

我正在寻找的最小功能是窗口和用户输入支持.

在功能方面,我希望有一个终端区域,其中一些数据会定期更新,同时(同时)用户可以在屏幕的其他部分输入命令/文本.

解决方案

Charva,它链接到本机代码,但有一个基于 Swing 的 api.屏幕截图 显示了大量文本窗口,因此看起来很有用.>

I would like to write a Java terminal application that does screen manipulation. Are there any good libraries out there that allow you to manipulate the screen like curses in the *nix/C world?

Minimal features I'm looking for are windowing and user input support.

In feature-speak, I'd like to have a region of the terminal where some data is regularly updated while (at the same time) the user can enter commands/text in some other part of the screen.

解决方案

There is Charva, which links to native code but has an api based on Swing. The screenshots show lots of text windows, so that looks useful.

这篇关于什么是用于终端应用程序的优秀 Java、类似curses 的库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆