简体   繁体   English

Swing RTF编辑组件-RTFEditorkit的替代品?

[英]Swing RTF editing component - alternatives to RTFEditorkit?

I want to embed an RTF editing swing component into an application. 我想将RTF编辑Swing组件嵌入到应用程序中。 There is JTextPane which can be used with RTFEditorkit, and I have created a small sample editor with it. 有可以与RTFEditorkit一起使用的JTextPane,我已经用它创建了一个小的示例编辑器。 But there are issues, and from what I find on the web, it looks like development of RTFEditorkit is stagnating. 但是存在一些问题,从我在网上发现的情况来看,RTFEditorkit的开发似乎停滞了。

Does anyone know about alternatives? 有人知道替代品吗?

PS: I know I could embed OpenOffice.org (or LibreOffice), but requiring installation of a complete office suite just for editing RTF files is not an option. PS:我知道我可以嵌入OpenOffice.org(或LibreOffice),但是不需要安装用于编辑RTF文件的完整Office套件。

您可以尝试这种尝试来替换SUN的RTFEditorKit http://java-sl.com/advanced_rtf_editor_kit.html

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

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