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.