Java – display HTML5 in swing
•
Java
There are many questions about displaying HTML content in swing applications But no library supports HTML5 (I can't afford jxbrowser)
I have some locally stored HTML 5 pages that I want to display in my swing application One idea is to embed Firefox or chrome into my java application and delete controls
How do I display HTML5 content in my swing application?
Solution
You should look at the new JavaFX browser that fully supports HTML 5 and is written in pure Java You can easily integrate it into any swing application – see the official instructions:
But I think this may force you to use JDK 7 to fully support various operating systems
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码