Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Best way to display website in Java Swing app?

843806Feb 22 2008 — edited Oct 27 2009
I'm currently using JEditorPane to display a website, but... let's just say it doesn't do a good job of rendering HTML.

It seems to render HTML like Netscape 1.0 -- not exactly the best. It's putting glitches in the code that aren't there -- I mean MAJOR glitches. Even Sun's "Java download" page looks horrible.

Does anyone know what the limitations are? Is there a particular tag that can't be rendered in JEditorPane? There has to be a scientific reason for every "mis-rendering", I would think!

Anyhow, I was wondering if there was a better way to display HTML in a Swing app.

Thanks,

Matthew
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 24 2009
Added on Feb 22 2008
5 comments
291 views