\begin{slide}{Container als Elemente von Containern}

\begin{verbatim}
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);     
\end{verbatim}
beachte: das ist möglich wegen \verb|class Container extends Component|

\end{slide}


%%% Local Variables: 
%%% mode: latex
%%% TeX-master: "informatik"
%%% End: 
