Obrigado pela dica.
----- Original Message -----
From: Handerson Ferreira Gomes <[EMAIL PROTECTED]>
To: Jo�o Carlos Bortoletto Jr <[EMAIL PROTECTED]>
Cc: Java Lista <[EMAIL PROTECTED]>
Sent: Friday, November 05, 1999 12:30
Subject: Re: Chamando uma URL no frame corrente
Oi Jo�o.
Se voc� estiver usando showDocument ent�o passe um segundo par�metro que �
o frame desejado.
No seu caso deve ser showDocument(urldestino,"_self");
At� mais!
[]'s
Handerson F. Gomes
public void showDocument(URL url, String target)
Requests that the browser or applet viewer show the Web page indicated
by the url
argument. The target argument indicates in which HTML frame the
document is to be
displayed. The target argument is interpreted as follows:
"_self"
Show in the window and frame that contain the applet.
"_parent"
Show in the applet's parent frame. If the applet's frame has
no parent frame, acts
the same as "_self".
"_top"
Show in the top-level frame of the applet's window. If the
applet's frame is the
top-level frame, acts the same as "_self".
"_blank"
Show in a new, unnamed top-level window.
name
Show in the frame or window named name. If a target named
name does not
already exist, a new top-level window with the specified
name is created, and
the document is shown there.
Jo�o Carlos Bortoletto Jr wrote:
> Ola pessoal,
>
> Estou com uma d�vida interessante.
> Eu tenho uma applet que est� usando m�todos da classe java.net.URL.
> Existe uma forma de eu chamar uma URL no frame corrente? (quando em
> chamo a URL ele est� perdendo a estrutura do frame)
> _____________________
> | Frame1 |
> |-------------------------- |
> | Frame2 |
> | |
> | Meu Applet est� |
> | aqui |
> |---------------------------|
>
> Desde j�, obrigado.
>
> Jo�o Carlos Bortoletto Jr