Hallo, ich hab folgendes Problem:
In meinem Java-Applet wird, wenn ich auf eine gesuchte Adresse klicke die aufgerufen.Dies Geschied aber im selben Fenster.
Ich möchte es aber nur in einem Frame aufgerufen haben. Geht das ? Hier der Code :
public void doubleClickList1()
{
AppletContext appletcontext = getAppletContext();
try
{
URL url = new URL((String)FoundList.elementAt(list1.getSelectedIndex()));
appletcontext.showDocument(url);
}
catch(MalformedURLException malformedurlexception)
{
System.out.println("Error");
}
}
In meinem Java-Applet wird, wenn ich auf eine gesuchte Adresse klicke die aufgerufen.Dies Geschied aber im selben Fenster.
Ich möchte es aber nur in einem Frame aufgerufen haben. Geht das ? Hier der Code :
public void doubleClickList1()
{
AppletContext appletcontext = getAppletContext();
try
{
URL url = new URL((String)FoundList.elementAt(list1.getSelectedIndex()));
appletcontext.showDocument(url);
}
catch(MalformedURLException malformedurlexception)
{
System.out.println("Error");
}
}