AppletContext.showDocument() in desired frame?

Hey JAVA's out there,

java.applet.AppletContext.showDocument(URL, String) provides showing a HTML-Page in the Browsers window. Is there any way to select a frame as destination? Perhaps another Class I don't know? The function isn't very useful due it always overwrites the whole Browsers content.

Hope for fast response



  • There's another 'AppletContext.showDocument()'-Method:'AppletContext.showDocument(String URL,String Target).

    e.g. for the target-value 'self', the page would be shown in the same frame and I guess you're also allowed to give the name of the frame, e.g. 'mainframe' or something like that.

    I hope, it'll help you

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!