Hallo,
Du mußt in einem Java-Applet an das JS-Window-Objekt herankommen.
Viel zu kompliziert.
Ein Applet hat die Methode getAppletContext(), welche ein AppletContext-Objekt zurückliefert. Dieses hat die Methode showDocument(URL url).
...
showDocument
public void showDocument(URL url)
Replaces the Web page currently being viewed with the given URL. This method may be ignored by applet contexts that are not browsers.
Parameters:
url - an absolute URL giving the location of the document.
...
viele Grüße
Axel