setLayout (new BorderLayout ()); add (new Button ("Top"), BorderLayout.NORTH); add (new Button ("Foo"), BorderLayout.WEST); Panel p = new Panel (); p.setLayout (new GridLayout (10,0)); for (int k = 0; k < 97; k++) { p.add (new Button( "B" + k )); } add (p, BorderLayout.CENTER);beachte: das ist möglich wegen
class Container extends Component