File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JEditor Pane HTML text issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JEditor Pane HTML text issue" Watch "JEditor Pane HTML text issue" New topic

JEditor Pane HTML text issue

Sanjeev Charla
Ranch Hand

Joined: Apr 02, 2009
Posts: 90


During run time i am getting the styled html text from JEditorPane and again setting the same html text to the JEditorPane. But the results are different before and after, like background color is not shown and alignment of text is not done etc etc.

How to resolve this issue ?

Thank you.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10825

Post your SSCCE code which demonstrates this problem.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: JEditor Pane HTML text issue
It's not a secret anymore!