abrir applet desde applet
¿Cual seria el codigo para abrir otro applet pulsando un boton de un applet?
Puede ser esto: getAppletContext().showDocument(direccion del applet)?? Es que no me va.
Gracias.
Puede ser esto: getAppletContext().showDocument(direccion del applet)?? Es que no me va.
Gracias.
COMO NO VAS A SABER COSAS TAN SENCILLAS Y TONTAS, BUENO SI QUIERES MAS COSITAS TONTAS AVISAS O ESCRIBES AL FORO, bueno espero que te sirva.
BYE
EL JEFE
URL url=new URL("direccion");
getAppletContex().showDocument(URL,"_blank");
BYE
EL JEFE
URL url=new URL("direccion");
getAppletContex().showDocument(URL,"_blank");
Pongo esto y no me va. Qué hago mal?
try {
this.getAppletContext().showDocument(new URL("http://www.google.com"), "_blank");
}
catch (IOException io) {
System.out.println("Imposible abrir el navegador");
}
try {
this.getAppletContext().showDocument(new URL("http://www.google.com"), "_blank");
}
catch (IOException io) {
System.out.println("Imposible abrir el navegador");
}