FileDocCategorySizeDatePackage
vargrid.javaAPI DocExample1262Mon Mar 24 02:04:20 GMT 1997None

vargrid

public class vargrid extends Applet

Fields Summary
Constructors Summary
Methods Summary
public voidinit()


                VariableGridLayout vgl;
                setLayout (vgl = new VariableGridLayout (3,3));
                vgl.setRowFraction (0, 1.0/2.0);
                vgl.setRowFraction (1, 1.0/4.0);
                vgl.setRowFraction (2, 1.0/4.0);
                vgl.setColFraction (0, 1.0/2.0);
                vgl.setColFraction (1, 1.0/4.0);
                vgl.setColFraction (2, 1.0/4.0);

                add (new Button ("One"));
                add (new Button ("Two"));
                add (new Button ("Three"));
                add (new Button ("Four"));
                add (new Button ("Five"));
                add (new Button ("Six"));
                add (new Button ("Seven"));
                add (new Button ("Eight"));
                add (new Button ("Nine"));