JEditor Pane to Display Background

Hi Gurus,
I am using JEditorPane to display a page. Content Type is text/html, editor kit is HTMLEditorKit. Now i want to extend the functionality of the JEditorPane. First of all i want to display BackGround image that is used in the
HTML page. How can i extend the functionality of the JEditorPane?. I can parse the BackGround tag. But if i use the setText Method nothing is displayed.

Please Help me

Thanks in Advance
[448 byte] By [jags] at [2007-11-15 19:13:25]