OK, after a little thinking i decided to load another HTML-File.
But what I wnat to know is: How do I load another HTML-File in Applet?
I want to load this File only on my PC so I don't need that URL stuff. The two Files are stored on my Computer.
It would be possible to load the 2nd HTML-File in the 1st one, but I want to try loading it in the JAVA-File.
OK, I have written this Source
String theURLString = new String("myhtml.html");
try {
URL theURL = new URL(theURLString);
getAppletContext().showDocument(theURL, "_top");
}
catch(MalformedURLException e) {System.out.println(e);}
Problem is, that this Method searches the Internet for the Page. I want it to load it on my hard disc. But how to?
I tried with the hole pathname, but that doesn't work. Maybe someone knows!
THX for help.
[ February 28, 2002: Message edited by: Franz Meyer ]