import java.applet.*;
import java.awt.*;
public class tech0027 extends Applet{
Button button1 = new Button("Button #1");
Button button2 = new Button("Button #2");
Button button3 = new Button("Button #3");
int xstart = 20, ystart = 20, xend =70, yend = 70;
public void init(){
setLayout(null);
add(button1);
add(button2);
add(button3);
button1.reshape(xstart,ystart,xend,yend);
button2.reshape(50,50,100,100);
button3.reshape(120,120,150,150);
/*
各ボタンの左上を座標(xstart,ystart)として右下を座標(xend,yend)をとして
Layoutを使わずに好きな場所に配置できる。
*/
}
}