import java.awt.*; import java.applet.Applet; public class Paigutus11 extends Applet{ public Paigutus11(){ setLayout(new Ruutpaigutus()); add(new Button("Nupp 1")); } public static void main(String argumendid[]){ Frame f=new Frame("Paigutus"); f.add(new Paigutus11()); f.setSize(200, 200); f.setVisible(true); } }