Swing组件支持哪些HTML标签? [英] Which HTML tags are supported in Swing components?

查看:218
本文介绍了Swing组件支持哪些HTML标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

许多Swing组件支持嵌入式HTML,但是我找不到任何关于该主题的官方文档。 (Sun的所有关于HTML的页面似乎都针对JEditorPane)

Many Swing components support embedded HTML, but I cannot find any official documentation on that subject. (Everything on Sun's pages about HTML seems to be targeted at JEditorPane)

所以:Swing组件支持哪些HTML标签?

So: Which HTML tags are supported in Swing components?

编辑:虽然我说我错过了官方文档,我也会喜欢任何非官方的文档。 p>

Although I said that I'm missing "official documentation", I'd also like any "unofficial" documentation.

推荐答案

Swing支持HTML 3.2(Wilbur)作为软件猴子说。您可以在以下网址找到这个废弃(1996)版本的HTML的官方文档: http:// www .w3.org / TR / REC-html32.html

Swing supports HTML 3.2 (Wilbur) as Software Monkey said. You can find official documentation to this obsolescent (1996) version of HTML at: http://www.w3.org/TR/REC-html32.html

Java 7文档主题: http://docs.oracle.com/javase/7/docs/api/javax /swing/text/html/package-summary.html

Java 7 documentation on the topic: http://docs.oracle.com/javase/7/docs/api/javax/swing/text/html/package-summary.html

虽然值得注意的是,它没有明确提及此信息对其他Swing有效组件。

Though it is worth of noting that it does not explicitly mention this information is valid for other Swing components.

这篇关于Swing组件支持哪些HTML标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆