import java.applet.Applet; import java.awt.*; public class Paigutus5 extends Applet{ Button nupp1=new Button("Esimene"); Button nupp2=new Button("Teine"); public Paigutus5(){ Panel p=new Panel(new GridLayout(1, 2)); p.add(nupp1); p.add(nupp2); setLayout(new BorderLayout()); add(p, BorderLayout.NORTH); } }