This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JEditor Pane HTML text issue" Watch "JEditor Pane HTML text issue" New topic
Author

JEditor Pane HTML text issue

Sanjeev Charla
Ranch Hand

Joined: Apr 02, 2009
Posts: 90

Hi,

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: 10167
    
    8

Post your SSCCE code which demonstrates this problem.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
Consider Paul's rocket mass heater.
 
subject: JEditor Pane HTML text issue
 
Similar Threads
Different Different Fonts in JEditorPane
HTML in JTextPane/Editor
Override JEditorpane components
Eclipse's AbstractTextEditor - making links "alive"
showing a html file