We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
Lanterna
我最近发现了 Lanterna 库。 还没有机会使用它,但它看起来是比其他产品更新的替代品。
Lanterna
I found the Lanterna library recently. Haven't had the opportunity to use it yet but it looks like a more up-to-date alternative to the others.
有 Charva,它链接到本机代码,但具有基于 Swing 的 api。
屏幕截图显示了大量文本窗口,因此看起来很有用。
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 Library 听起来像你想要的。
Haven't used it myself, but Java Curses Library sounds like what you want.
这里是调用 ncurses 库的方法使用 JNI。 我测试了这个并且它有效。
Here is a way to call the ncurses lib using JNI. I tested this and it works.
截至 2013 年,我能找到的最接近的是 Blacken。
Blacken 本身并不是一个诅咒库。 它远离终端,而是呈现它自己的“控制台窗口”。 这样做的缺点是看起来不像“控制台”。 相反,您可以获得完整(任意)颜色支持,以及类似诅咒的 API(除了它们的主要 API 之外)。
您还可以将固定宽度字符的字体设置为
Mono
。As of 2013, the closest I can find is Blacken.
Blacken is not a curses library per-se. It moves away from the terminal, and instead, renders it's own "console window." This has the disadvantage of not looking "console-like." Instead, you get full (arbitrary) colour support, and a curses-like API (in addition to their main API).
You can also set the font to
Mono
for fixed-width characters.