import java.applet.*; import java.awt.*; public class Esim22 extends Applet { Button nappi1,nappi2,nappi3,nappi4,nappi5; public void init () { setLayout(new BorderLayout(10,20)); add("North",nappi1 = new Button("Eka")); add("South",nappi2 = new Button("Toka")); add("East",nappi3 = new Button("Kolmas")); add("West",nappi4 = new Button("Neljäs")); add("Center",nappi5 = new Button("Viides")); } }