next up previous
Nächste Seite: Implizite Positionierung durch Manager Aufwärts: Layout-Manager (19. 12.) Vorherige Seite: GUIs und Layout-Manager

Explizite Positionierung (pfui)

setLayout (null);
Button b = new Button ("bar");        
b.setBounds (200,300,50,30);
add (b);
Button f = new Button ("foo");        
f.setBounds (100,200,100,40);  
add (f);

Nachteile:



Johannes Waldmann 2004-01-30