public class Strat extends JApplet { public void init () { JPanel p = new JPanel (new GridLayout(8,0)); // Strategie-Objekt for (int i=0; i<40; i++) { p.add (new JButton ()); } this.getContentPane().add(p); } }Bemerkungen: Kompositum (Wdhlg), MVC (später)