Hi all,
 
I have a GUI application, which supposed to show HTML files. In order to show the styled document I use javax.swing.JTextPane, and invoke the method setPage(URL pageURL). The DefaultEditorKit is installed on that text pane in order to render the HTML page. I saw in the documentation that there are CSS objects, which are meant to add styling to the page.
 
Does anyone know how I work with these objects? I want to be able to get a raw HTML page and then to add some more style to it.
 
Thanks!
David Treves.
To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to