Java - HTML5 alternative to JEditorPane

﹥>﹥吖頭↗ 提交于 2019-11-29 07:14:29
Bruno Vieira

You can use JavaFX-2 Webview. From the JavaFX-2 Adding HTML Content tutorial docs:

The embedded browser component is based on WebKit, an open source web browser engine. It supports Cascading Style Sheets (CSS), JavaScript, Document Object Model (DOM), and HTML5.

For integration of javafx-2 with swing I recommend you to read the Swing and Javafx-2 Interoperability article.

I hope it helped. Cheers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!