TextArea或java中用于将格式化的String转换为html

时间:2016-11-14 15:42:40

标签: java swing desktop-application html-editor htmleditorkit

我不知道如何正确地表达我的问题,但我正在寻找这样的事情: enter image description here

但是我想将它保存为数据库中的html代码,如下所示:

<html><body><p>here's the "<em>preloaded</em><strong>content</strong>"</p></body></html>

您能推荐我可以使用的库或组件吗?谢谢!

0 个答案:

没有答案