FileDocCategorySizeDatePackage
Odd_Shape.javaAPI DocExample2417Tue Dec 12 19:00:00 GMT 2000None

Odd_Shape

public class Odd_Shape extends JApplet

Fields Summary
Constructors Summary
Methods Summary
public voidbuildUI(java.awt.Container container)

	setBackground(Color.white);
        OddPanel oddPanel = new OddPanel();
        container.add(oddPanel, BorderLayout.CENTER);
    
public voidinit()

	buildUI(getContentPane());
    
public static voidmain(java.lang.String[] s)


        JFrame f = new JFrame("Odd_Shape");
        f.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e) {System.exit(0);}
        });
        Odd_Shape applet = new Odd_Shape();      
        applet.buildUI(f.getContentPane());
        f.setSize(new Dimension(350,200));
        f.setVisible(true);