File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes open URL in specific frame. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "open URL in specific frame." Watch "open URL in specific frame." New topic

open URL in specific frame.

Eoin Mac Aoidh
Ranch Hand

Joined: May 19, 2005
Posts: 48
Hi - Is it possible to open a URL in a specific frame from a java application (not an applet) I did it successfully from an applet using the following code:

I am trying to do something very similar now - My .jar file is in the left frame of my page, and I would like it to be able to control the actions of the right frame.
Is this possible? - any searches Ive done seem to indicate it is only possible to open a new browser window.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42929
My .jar file is in the left frame of my page

I don't understand this - how can it run in a frame if it's not an applet? Is it a Web-Start application? Those can't control the contents of the browser.
I agree. Here's the link:
subject: open URL in specific frame.