Panel s = new Panel();
Panel e = new Panel();
setLayout (new BorderLayout ());
add ("North", new Label ("Enter text", Label.CENTER));
add ("Center", new TextArea ());
e.setLayout (new GridLayout (0,1));
e.add (new Button ("Reformat"));
e.add (new Button ("Spell Check"));
e.add (new Button ("Options"));
add ("East", e);
s.setLayout (new FlowLayout ());
s.add (new Button ("Save"));
s.add (new Button ("Cancel"));
s.add (new Button ("Help"));
add ("South", s);