Link to home
Start Free TrialLog in
Avatar of CEHJ
CEHJFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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!
ASKER CERTIFIED SOLUTION
Avatar of conick
conick

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CEHJ

ASKER

I'll look into this...
Avatar of conick
conick

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.
Avatar of CEHJ

ASKER

Thanks conick - looking into JEdit...