[英]Rich Text Display Component for Java
Is there any library which provide a text panel with basic formatting features. 有没有提供带有基本格式设置功能的文本面板的库。 Such as line numbering, Keyword coloring and others.
例如行号,关键字着色等。
I want to display a code inside my application window. 我想在应用程序窗口中显示代码。 I already try to use JTextPane.
我已经尝试使用JTextPane。 But it is easy if there exist are any UI Components that meets my requirements.
但是,如果有满足我要求的UI组件,这很容易。
note : I want to display the code same as when it is open using notepad++ or any code editor. 注意:我想显示的代码与使用notepad ++或任何代码编辑器打开时的代码相同。
我使用jsyntaxpane取得了一些成功。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.