l.setText("This is the really long text"); l.invalidate(); validate();
Button b = new Button("press"); b.addActionListener( this ); add(b); l = new Label("Foo"); add( l );