Component/HTML as background of JDesktopPane

Is there any way to make a JDesktopPane look like it has a (local) HTML file as its background? Links in the HTML file need to create hyperlinkevents.

I already know how to load the files into a JEditorPane and follow hyperlinks when clicked.

I have tried setting the JDesktopPane as not opaque and placing it on top of the editor pane, but it was still opaque when I compiled and ran the application. However, I was able to use the editor pane although it was invisible.

(Java 1.5u7 compiler, Netbeans 5.0 IDE)

[536 byte] By [PCUa] at [2007-11-27 7:57:13]
# 1
Try to add you editorPane to JDesktopPane with some layout manager.Regards,Stas
StanislavLa at 2007-7-12 19:39:03 > top of Java-index,Desktop,Core GUI APIs...