0

我正在使用SQLLite数据库。我正在尝试以HTML格式检索数据。我能够以正常方式检索数据,但我希望使用查询检索的数据必须以HTML格式显示。你能帮我么 ?。

4

1 回答 1

1

If, per the original tagging, your question is "how to display HTML in Swing", if you limit yourself to simple HTML, you can just display it in a JLabel which supports rudimentary formatting.

A simple quick search bring back to Stackoverflow (as often) to the topic: How to render basic HTML markup inside a JPanel in Java Swing?

于 2012-11-22T14:54:35.437 回答