/* ButtonApplet3 is a simple applet that demonstrates the BorderLayout Layout manager */ import java.applet.*; import java.awt.*; public class ButtonApplet3 extends Applet { Button testButton1; Button testButton2; Button testButton3; Button testButton4; Button testButton5; Button testButton6; public void init() { setBackground(Color.red); setLayout(new BorderLayout()); testButton1 = new Button("one"); testButton2 = new Button("two"); testButton3 = new Button("three"); testButton4 = new Button("four"); testButton5 = new Button("five"); testButton6 = new Button("six"); add("North", testButton1); add("South", testButton2); add("East", testButton3); add("West", testButton4); add("Center", testButton5); add("Center", testButton6); } }