是否有关于如何在我的应用程序中使用 JEditTextArea 的教程?

发布于 2024-07-16 06:41:31 字数 262 浏览 4 评论 0原文

我正在尝试将 JEditTextArea 嵌入到我的应用程序中,可在此处找到: http://syntax.jedit.org/

我想知道是否有这样做的明确指南? 我在使包正常工作时遇到问题,并且不确定应该如何将它们导入到我的项目中。 如果有人已经让它工作,或者有更好的解决方案来在我的应用程序中突出显示语法,我们将不胜感激。

谢谢。

I'm trying to embed the JEditTextArea into my application, which is available here: http://syntax.jedit.org/

I was wondering if there was a definitive guide to doing this? I am having problems getting the packages to work, and am not sure how I'm supposed to even go about importing them into my project. If anyone has gotten this to work, or has a better solution to getting syntax highlighting in my application, any help is greatly appreciated.

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

甜扑 2024-07-23 06:41:31

这个额外的包似乎自 2002 年以来就已经消亡了。
我什至不知道这是作为单独的项目存在的。
如果您想嵌入 JEditTextArea,您应该使用最新版本。
为此,您必须获取源代码分发并调用“ant build-textArea”,它应该生成要嵌入到其他项目中的独立 TextArea。

This extra package seems to be dead since 2002.
I was not even aware this exists as separate project.
If you want to embed the JEditTextArea, you should use the recent version.
For this you would have to take the source distribution and call "ant build-textArea" which should produce the independent TextArea to be embedded in other projects.

春风十里 2024-07-23 06:41:31

If you are using Swing then perhaps StyledDocument is for you? I've used it for syntax highlighting in applications and it was relatively painless.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文