import java.applet.*;
import java.awt.*;
public class tech0024 extends Applet{
public void init()
{
this.setLayout(new BorderLayout(10,20));
this.add("North", new Button("上"));
this.add("East", new Button("右"));
this.add("Center", new Button("真中"));
this.add("West", new Button("左"));
this.add("South", new Button("下"));
/*
それぞれのボタンの横間隔が10,縦間隔20で
"Center"を真中にして
上に"North"
右に"East"
左に"West"
下に"East"と各領域の名称と共に呼ばれ、配置される。
*/
}
}