import java.awt.*; import java.applet.Applet; public class Paigutus9 extends Applet{ public Paigutus9(){ setLayout(null); Button nupp1=new Button("Nupp 1"); Button nupp2=new Button("Nupp 2"); nupp1.setBounds(40, 60, 50, 50); nupp2.setBounds(130, 100, 60, 60); add(nupp1); add(nupp2); } public static void main(String argumendid[]){ Frame f=new Frame("Paigutus"); f.add(new Paigutus9()); f.setSize(400, 200); f.setVisible(true); } }