How do I style HTML correctly using an external CSS file?

eenicker

New Member
I want to be able to load an HTML document from the Internet, display it in a JEditorPane and have it styled in Java using both an external CSS file and/or from any \[code\]<style>...</style>\[/code\] tags. What I'm doing right now is using \[code\]jEditorPane.setPage(URL);\[/code\] and it's not correctly styled.
 
Back
Top