import java.applet.Applet;
import java.awt.*;

// This appears in Core Web Programming from
// Prentice Hall Publishers, and may be freely used
// or adapted. 1997 Marty Hall, hall@apl.jhu.edu.

/** Layout managers are intended to help you, but there
 *  is no law saying you <B>have</B> to use them.
 *  Set the layout to null to turn them off.
 */

public class NullTest extends Applet {
  public void init() {
    setLayout(null);
    Button b1 = new Button("Button 1");
    Button b2 = new Button("Button 2");
    Button b3 = new Button("Button 3");
    Button b4 = new Button("Button 4");
    Button b5 = new Button("Button 5");
    b1.reshape(0, 0, 150, 50);
    b2.reshape(150, 0, 75, 50);
    b3.reshape(225, 0, 75, 50);
    b4.reshape(25, 60, 100, 40);
    b5.reshape(175, 60, 100, 40);
    add(b1);
    add(b2);
    add(b3);
    add(b4);
    add(b5);
  }
} 

