简体   繁体   English

如何在Eclipse中使用JCurses

[英]How to use JCurses in Eclipse

I'm trying to develop a program that simulates the Terminal in Linux. 我正在尝试开发一个在Linux中模拟Terminal的程序。 My problem is that I can't clear the screen in the default Eclipse console. 我的问题是我无法在默认的Eclipse控制台中清除屏幕。

After a lot of searching, I've found a library called JCurses that can do the task. 经过大量搜索之后,我发现了一个名为JCurses的库可以执行此任务。 But I can't get it working in Eclipse. 但是我无法在Eclipse中运行它。

I've searched for a tutorial, but it seems there is not. 我搜索了一个教程,但似乎没有。

Can any one help me how to use it? 谁能帮我使用它?

OK, I found it. 好的,我找到了。

I have used an external Java console. 我使用了外部Java控制台。 It's called Eric : 叫做Eric
http://cs.roosevelt.edu/eric/console.html http://cs.roosevelt.edu/eric/console.html

It's very easy to use. 它很容易使用。 It could be run flawlessly on Eclipse although it's said to be for Netbeans only. 尽管据说它仅适用于Netbeans,但它可以在Eclipse上完美运行。

Thanks guys very much 非常感谢你们

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM