import java.applet.*;
import java.awt.*;
import java.net.*;

public class HTMLSeite_Exception extends Applet {
	
  URL url1;
  String str = "http:/www.self/java.de";

public boolean action(Event evt, Object arg){
  try {
    url1 = new URL(str);
    getAppletContext().showDocument(url1);
  }
  catch(MalformedURLException e) {
    Label lab = new Label("Error " + e );
    add(lab);
  }	
  return true;
}
	
public void init() {
  add(new Button("URL"));
}

}
