주: 추가(새로 추가?). Button("/"), BorderLayout. West);
Add? (p, BorderLayout. Centre);
Import?Java . awt . *;
Import? Java . applet . applet;
Public? Class? Computing? Extension? applet
{
Public? void? Initialise()
{
setLayout(new? BorderLayout());
add(new? Button("/"), BorderLayout. west);
add(new? Button("*"), BorderLayout. west);
추가(new? Button ("-"), BorderLayout. west);
Add (New? 버튼 ("+"), BorderLayout. west);
//add("west", new? 버튼 ("*");
//add("west", new? 버튼 ("-");
//add("west", new? button ("+");
Panel?p=? new?panel();
p.setLayout(new?GridLayout(3, 3));
for(int?I = 9; I& gt0;I-)
{
String?lbl=(new? Integer(I)). toString();
p.add(new? Button(LBL));
}
Add? (p, BorderLayout. center);
}
}