[英]Command line interface within Java GUI
I want to implement a command line interface within the Java GUI window. 我想在Java GUI窗口中实现命令行界面。 Is there a good way of doing this or an existing project/example I could use?
有没有一个很好的方法来做这个或我可以使用的现有项目/示例?
My application visualises a graph in the GUI and I would like to enter verbal commands for editing it, instead of developing a point-and-click interface for every possible command. 我的应用程序在GUI中可视化图形,我想输入语音命令进行编辑,而不是为每个可能的命令开发一个点击式界面。 It would be similar to a normal command line but I would have a custom parser that analyses the entered command strings.
它类似于普通的命令行,但我会有一个自定义解析器来分析输入的命令字符串。
You have the Groovy Console . 你有Groovy控制台 。 See the paragraph Embedding the Console for your app swing.
请参阅嵌入控制台的段落以了解您的应用程序摆动。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.