FlowLayout (2)

    TestFlowLayout()
    {
        setLayout(new FlowLayout());

        add(new Button("Push Me 1"));
        add(new Button("Push Me 2"));
        add(new Button("Push Me 3"));
        add(new Button("Push Me 4"));
        resize(400, 100);
        setVisible(true);
    }


Slide 64 ©Copyright 1997 Jan Newmarch