JEditorPane+HTML+CSS

Anyone had the above trio working correctly together? The HTML and CSS should both be in external files. Tell (show) me it can be done!
LVL 87
CEHJAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

conickCommented:
As far as I know the JEditorPane only supports HTML 3.2 (which doesnt have internal support for CSS). I believe you would have to manually render the CSS.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CEHJAuthor Commented:
I'll look into this...
conickCommented:
After rereading my comment, I didnt make it clear enough that I really DONT KNOW what the JEditorPane supports (without customizations).  I think I remember reading something about 3.2 compatible BUT that could have changed since 1.3.  You may want to look at the source of JEdit which has a plugin that will convert a buffer to HTML using CSS.  Now I dont believe the editor pane they use actually renders the CSS, it just generates the HTML code. (Ive never actually used the plugin.. I just recently started looking into JEdit).

Good Luck and I hope someone can give a more definitive answer.  You may want to search for third party APIs for that functionality.
CEHJAuthor Commented:
Thanks conick - looking into JEdit...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.