import java.applet.*;
import java.awt.*;
public class TestApplet extends Applet {
 // The main method is included for testing only:
 public static void main (String args []) {                        
  AppletTestorFrame f = new AppletTestorFrame("BorderLayout Test");
  TestApplet p = new TestApplet(); p.init();                       
  f.add("Center", p); f.resize(200, 150);  f.show();               
 }                                                                 
 public void init () {
  setLayout(new BorderLayout());
  add ("North", new SquarePanel("N"));
  add ("East", new SquarePanel("E"));
  add ("South", new SquarePanel("S"));
  add ("West", new SquarePanel("W"));
  add ("Center", new SquarePanel("C"));
  show();
 }
}
