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!

JEditorPane/HTMLEditorKit displays weird html-table-borders

843805Apr 26 2006 — edited Mar 5 2008
Hi there,

I am currently fighting with JEditorPane and its HTML functionality.
I would like to create a table with padding:2 and border:1 - every browser displays that correctly (even HotJava the father of HTMLEditorKit's functionality), however JEditorPane paints the border really ugly adding a 1993-style 3D effect to my table :-/

Any ideas how I could tell JEditorPane to just draw a single 1px line as table border?

Thank you in advance, lg Clemens
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2008
Added on Apr 26 2006
5 comments
665 views