GUIs und Layout-Manager

Id: layout.tex,v 1.1 2006-10-09 13:24:19 waldmann Exp

Erklärungen und Beispiele: http://java.sun.com/developer/onlineTraining/GUI/AWTLayoutMgr/

Ein GUI (graphical user interface) enthält mehrere Komponenten (z. B. Labels, Buttons), die in einem Container (z. B. Panel) angeordnet werden:

public class Thing extends Applet {
  public void init () {
    Button b = new Button ("bar"); add (b);
    Button f = new Button ("foo"); add (f);
  }
}



Johannes Waldmann 2007-01-23