This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Swing / AWT / SWT
JEditor Pane HTML text issue
Joined: Apr 02, 2009
Aug 05, 2012 12:21:03
During run time i am getting the styled html text from
and again setting the same html text to the
. 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 ?
Joined: Jul 26, 2007
Aug 07, 2012 13:20:26
code which demonstrates this problem.
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: JEditor Pane HTML text issue
showing a html file
Override JEditorpane components
HTML in JTextPane/Editor
Eclipse's AbstractTextEditor - making links "alive"
Different Different Fonts in JEditorPane
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015