FileDocCategorySizeDatePackage
SwingSet2Applet.javaAPI DocExample2622Wed Aug 08 15:13:52 BST 2001None

SwingSet2Applet

public class SwingSet2Applet extends JApplet
version
1.3 07/22/99
author
Jeff Dinkins

Fields Summary
Constructors Summary
Methods Summary
public java.net.URLgetURL(java.lang.String filename)

        URL codeBase = this.getCodeBase();
        URL url = null;
	
        try {
            url = new URL(codeBase, filename);
	    System.out.println(url);
        } catch (java.net.MalformedURLException e) {
            System.out.println("Error: badly specified URL");
            return null;
        }

        return url;
    
public voidinit()

        getContentPane().setLayout(new BorderLayout());
        getContentPane().add(new SwingSet2(this), BorderLayout.CENTER);