Simple enough question: I have a string containing HTML that is being handed off to a JEditorPane for user consumption.
Can I attach a CSS file (or string containing
Can't you just include a style tag along with the HTML content in setText()?
setText()
e.g.
jEditorPane.setText( "...");