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