Opening a webpage in JeditorPage

Hi,

I am opening a wepage in JEditorPane and add that JEditorPane on the contentpane of a frame. Now I have a applet which has a button. On its click I am creating an object of that frame and displaying it but the webpage is not displaying. I am wondering what am I doing wrong. I have checked the code for the frame class and it is working fine without applet. This problem comes only when I use it without applet. Can anyone suggest me something?

[461 byte] By [mayankdce2k4a] at [2007-11-27 9:55:57]
# 1
I don't know if it is acceptable to you if you show the web page directly instead of displaying it in a JFrame?getAppletContext().showDocument(URL url, String target)
Andre_Uhresa at 2007-7-13 0:26:01 > top of Java-index,Desktop,Core GUI APIs...